Skip to content

Commit 4f6bfb8

Browse files
committed
Fix publish test result step
1 parent 93b3873 commit 4f6bfb8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/unit-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Unit Tests
22

3+
permissions:
4+
checks: write
5+
pull-requests: write
6+
37
on:
48
push:
59
branches: [ "main" ]
@@ -19,6 +23,6 @@ jobs:
1923

2024
- name: Publish Test Results
2125
uses: EnricoMi/publish-unit-test-result-action@v2
22-
if: always()
26+
if: (!cancelled())
2327
with:
2428
files: '**/build/reports/**/**/*.xml'

0 commit comments

Comments
 (0)