Skip to content

Commit 24c4fcb

Browse files
committed
Add binary compatibility result to job summary
1 parent b23f797 commit 24c4fcb

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/binary-compatibility.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@ jobs:
5656
name: 'binary incompatible with: base'
5757
})
5858
59-
- name: Print result
59+
- name: Add result to job summary
6060
if: success() || failure()
61-
run: cat target/japicmp/default-cli.diff
61+
run: |
62+
echo '```' >> $GITHUB_STEP_SUMMARY
63+
cat target/japicmp/default-cli.diff >> $GITHUB_STEP_SUMMARY
6264
- name: Upload reports
6365
if: success() || failure()
6466
uses: actions/upload-artifact@v3
@@ -110,9 +112,11 @@ jobs:
110112
name: 'binary incompatible with: release'
111113
})
112114
113-
- name: Print result
115+
- name: Add result to job summary
114116
if: success() || failure()
115-
run: cat target/japicmp/default-cli.diff
117+
run: |
118+
echo '```' >> $GITHUB_STEP_SUMMARY
119+
cat target/japicmp/default-cli.diff >> $GITHUB_STEP_SUMMARY
116120
- name: Upload reports
117121
if: success() || failure()
118122
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)