diff --git a/.github/workflows/schemas.yml b/.github/workflows/schemas.yml index 1d5526a3..77511b5a 100644 --- a/.github/workflows/schemas.yml +++ b/.github/workflows/schemas.yml @@ -79,8 +79,10 @@ jobs: - name: Check for modified files id: git-check + shell: bash run: | - echo modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi) >> $GITHUB_OUTPUT + # echo modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi) >> $GITHUB_OUTPUT + echo modified=$(if [[ $(git diff) ]]; then echo "true"; else echo "false"; fi) >> $GITHUB_OUTPUT echo diff=$(git diff) >> $GITHUB_OUTPUT - name: Show check modified value