Skip to content

Commit

Permalink
Upload the target if tests fail.
Browse files Browse the repository at this point in the history
Signed-off-by: James R. Perkins <[email protected]>
  • Loading branch information
jamezp committed Jan 18, 2024
1 parent adc5f9b commit 6862916
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
21
- name: Build and Test
run: mvn -B clean verify "-Djava11.home=${{env.JAVA_HOME_11_X64}}" "-Djava17.home=${{env.JAVA_HOME_17_X64}}"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-${{ matrix.os }}
path: 'target/*'

format-check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6862916

Please sign in to comment.