Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Fix syntax error in 'IF' condition of "build-dev" job
  • Loading branch information
ehuelsmann authored Oct 29, 2023
1 parent d33c238 commit 0bab6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ jobs:
shell: bash
run: |
URL="https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }}"
if [$(curl -s -X GET -G $URL | jq -r '.files[].filename' | grep -q "cpanfile")]; then
if [ -n "$(curl -s -X GET -G $URL | jq -r '.files[].filename' | grep -q "cpanfile")" ]; then
echo ::set-output name=MUST_TRIGGER::1
fi
Expand Down

0 comments on commit 0bab6f1

Please sign in to comment.