From 0bab6f1fd87c9146060a0e6937970aa86c4c7a25 Mon Sep 17 00:00:00 2001 From: Erik Huelsmann Date: Sun, 29 Oct 2023 14:45:44 +0100 Subject: [PATCH] Update main.yml Fix syntax error in 'IF' condition of "build-dev" job --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1b91371266..3c574d1233 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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