Skip to content

Commit

Permalink
Save test reports when Gradle fails (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse authored Jul 21, 2023
1 parent 3925039 commit 2a050ec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ jobs:
run: |
./gradlew build
- name: Save Test Reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-reports
path: '**/build/reports'

publish:
runs-on: macos-11
if: github.repository == 'square/okio' && github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 2a050ec

Please sign in to comment.