Skip to content

Commit

Permalink
Upload reports on failure (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
big-andy-coates authored Jun 23, 2024
1 parent 5b1a04c commit 00bde10
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: ./gradlew build coveralls
- name: Upload Checkstyle reports
if: failure()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: reports
path: '**/build/reports/**/*.xml'
retention-days: 5
- name: Upload Test Results
if: failure()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: test-results-linux
path: '**/build/test-results/**/*.xml'
retention-days: 5

release:
if: github.event_name == 'push'
Expand Down

0 comments on commit 00bde10

Please sign in to comment.