diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ef05c00..f565ba5 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -31,7 +31,7 @@ jobs: echo "iscode=false" >> $GITHUB_ENV for changed_file in ${{ steps.files.outputs.all }}; do echo "changed file ${changed_file}" - if (${changed_file##*.} == 'ts' || ${changed_file##*.} == 'js' || ${changed_file##*.} == 'json') + if [${changed_file##*.} == 'ts' || ${changed_file##*.} == 'js' || ${changed_file##*.} == 'json']; then echo "iscode=true" >> $GITHUB_ENV fi done