Skip to content

Commit 9d3738f

Browse files
committed
Update Java CI workflow
to only publish test reports when there is a failure.
1 parent 76e09c1 commit 9d3738f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
run: |
3737
./gradlew --no-daemon --refresh-dependencies clean check
3838
- name: Publish Test Report
39+
if: failure()
3940
uses: scacap/action-surefire-report@v1
4041
with:
4142
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)