Skip to content

Commit

Permalink
fix(ci): add --exit-code option on Compare Diff (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
nogic1008 committed Feb 25, 2022
1 parent 472934c commit 0e29e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/compare-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Compare
id: compare
continue-on-error: true
run: git diff --no-index ./dist/ ./current/ > git-diff.log
run: git diff --no-index --exit-code ./dist/ ./current/ > git-diff.log

- name: Comment to PR
if: steps.compare.outcome == 'failure'
Expand Down

0 comments on commit 0e29e5a

Please sign in to comment.