Skip to content

Commit ca48395

Browse files
committed
build: generates report on test failure
1 parent 068cb24 commit ca48395

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/full-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
BUILD_SECURE_PORT: 0
3333
- name: Test Result
3434
uses: mikepenz/action-junit-report@v3
35-
if: always()
35+
if: failure()
3636
with:
3737
check_name: JUnit ${{ matrix.kind }} ${{ matrix.jre }} ${{ matrix.os }}
3838
report_paths: '*/target/*/TEST-*.xml'

.github/workflows/quick-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
BUILD_SECURE_PORT: 0
3737
- name: Test Result
3838
uses: mikepenz/action-junit-report@v3
39-
if: always()
39+
if: failure()
4040
with:
4141
check_name: JUnit ${{ matrix.kind }} ${{ matrix.java_version }} ${{ matrix.os }}
4242
report_paths: '*/target/*/TEST-*.xml'

0 commit comments

Comments
 (0)