Skip to content

Commit

Permalink
infra: enable printing diff to monitor what is going on in Checker
Browse files Browse the repository at this point in the history
  • Loading branch information
romani authored and rnveach committed Oct 17, 2022
1 parent 1614379 commit 21d1219
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checker-framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
run: groovy ./.ci/checker-framework.groovy ${{ matrix.profile }} || true

- name: Git Diff on fail
if: failure()
run: git diff > target/${{ matrix.profile }}.patch
# if: failure()
run: git diff && git diff > target/${{ matrix.profile }}.patch

- name: Share patch as artifact to apply on local
if: failure()
# if: failure()
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.profile }}-patch
Expand Down

0 comments on commit 21d1219

Please sign in to comment.