Skip to content

Commit

Permalink
[ci] add spotless diff to summary and artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Jun 27, 2024
1 parent a7173db commit 0c80d6f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@ jobs:
- name: Generate diff
run: git diff HEAD > javaformat-fixes.patch
if: ${{ failure() }}
- uses: actions/upload-artifact@v4
with:
name: javaformat fixes
path: javaformat-fixes.patch
if: ${{ failure() }}
- name: Write to job summary
run: |
echo '```diff' >> $GITHUB_STEP_SUMMARY
cat javaformat-fixes.patch >> $GITHUB_STEP_SUMMARY
echo '' >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
if: ${{ failure() }}

documentation:
name: "Documentation"
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 0c80d6f

Please sign in to comment.