Skip to content

Commit

Permalink
If build fails, upload test reports as an artifact, so that they can …
Browse files Browse the repository at this point in the history
…be investigated.

See #136

Signed-off-by: marracuene <[email protected]>
  • Loading branch information
marracuene committed Jun 20, 2020
1 parent d95390a commit ca31172
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gradle-build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ jobs:
- uses: eskatos/gradle-command-action@v1
with:
arguments: ${{ matrix.task }}
- uses: actions/upload-artifact@v2
if: failure()
with:
name: testreports
path: build/reports/tests # or path/to/artifact

0 comments on commit ca31172

Please sign in to comment.