Skip to content

Commit

Permalink
Add binary compatibility result to job summary
Browse files Browse the repository at this point in the history
  • Loading branch information
scordio committed May 22, 2022
1 parent b23f797 commit 24c4fcb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/binary-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ jobs:
name: 'binary incompatible with: base'
})
- name: Print result
- name: Add result to job summary
if: success() || failure()
run: cat target/japicmp/default-cli.diff
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
cat target/japicmp/default-cli.diff >> $GITHUB_STEP_SUMMARY
- name: Upload reports
if: success() || failure()
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -110,9 +112,11 @@ jobs:
name: 'binary incompatible with: release'
})
- name: Print result
- name: Add result to job summary
if: success() || failure()
run: cat target/japicmp/default-cli.diff
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
cat target/japicmp/default-cli.diff >> $GITHUB_STEP_SUMMARY
- name: Upload reports
if: success() || failure()
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 24c4fcb

Please sign in to comment.