Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 committed Aug 27, 2024
1 parent 5255a03 commit d3066d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/selfserve-checkout-and-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ jobs:
find .
echo "----"
PATH=${{ inputs.artifact_key }}/${{ inputs.artifact_path }}
PATH=$(echo "$PATH" | sed 's:/*$::')
echo "Artifact Path to Upload: $PATH"
if [ -z "$PATH" ]; then
echo "Path is empty. Proceeding with job."
elif [[ "$PATH" == *"//" ]] && [ -d "$PATH" ]; then
elif [ -d "$PATH" ]; then
echo "Path is a directory. Proceeding with job."
elif [ -f "$PATH" ]; then
echo "Path is a file. Proceeding with job."
Expand Down

0 comments on commit d3066d5

Please sign in to comment.