ci: Fix if statement

This commit is contained in:
Edmund Miller 2021-03-28 15:31:39 -05:00
parent f0006f3d3d
commit 3a4f142e9d
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D

View file

@ -26,7 +26,7 @@ jobs:
id: yq_modules id: yq_modules
run: | run: |
output=$(echo ${{ steps.filter.outputs.changes }} | yq e 'length' -) output=$(echo ${{ steps.filter.outputs.changes }} | yq e 'length' -)
echo "::set-output name=proceed::$(if (test $output -lt 42); then return 0 else return 1 fi)" echo "::set-output name=proceed::$(if (test $output -lt 42); then return 0; else return 1; fi)"