Skip to content

Commit eefd5fd

Browse files
committed
Try to fix GitHub Actions
1 parent d10d875 commit eefd5fd

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/test-publish.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,20 @@ on:
66
types:
77
- completed
88

9-
permissions: {}
9+
permissions:
10+
contents: read
11+
actions: read
12+
checks: write
1013

1114
jobs:
12-
test-results:
13-
name: Test Results
15+
report:
16+
name: Report Test Results
1417
runs-on: ubuntu-latest
15-
if: github.event.workflow_run.conclusion != 'skipped'
16-
permissions:
17-
checks: write
1818
steps:
19-
- name: Download Artifacts
20-
uses: actions/download-artifact@v4
21-
with:
22-
name: test-results
23-
path: TestResults/
24-
run-id: ${{ github.event.workflow_run.id }}
2519
- name: Report Test Results
2620
uses: dorny/test-reporter@v1
2721
with:
22+
artifact: test-results
2823
name: Windows Test Results
29-
path: TestResults/*.test-result.trx
24+
path: '*.test-result.trx'
3025
reporter: dotnet-trx

0 commit comments

Comments
 (0)