Attempt to get redirection working properly

This commit is contained in:
Brandon Rozek 2022-12-12 11:30:36 -05:00
parent 4de62265bd
commit 6a8c47e549

View file

@ -25,7 +25,7 @@ jobs:
- name: Check if there's any changes - name: Check if there's any changes
id: verify_diff id: verify_diff
run: | run: |
if [ -n "$(git status --porcelain)" ]; then echo "changed=true" || tee -a $GITHUB_OUTPUT; fi if [ -n "$(git status --porcelain)" ]; then echo ::set-output name=changed::true; fi
- name: Commit and push - name: Commit and push
if: steps.verify_diff.outputs.changed == 'true' if: steps.verify_diff.outputs.changed == 'true'