|
7 | 7 | - completed
|
8 | 8 | permissions: {}
|
9 | 9 |
|
10 |
| - jobs: |
11 |
| - test-results: |
12 |
| - name: Test Results |
13 |
| - runs-on: ubuntu-latest |
14 |
| - if: github.event.workflow_run.conclusion != 'skipped' |
15 |
| - permissions: |
16 |
| - # required by download step to access artifacts API |
17 |
| - actions: read |
18 |
| - # write the actual check-run |
19 |
| - checks: write |
20 |
| - # needed unless run with comment_mode: off |
21 |
| - pull-requests: write |
22 |
| - steps: |
23 |
| - - name: Download and Extract Artifacts |
24 |
| - uses: dawidd6/action-download-artifact@e7466d1a7587ed14867642c2ca74b5bcc1e19a2d |
25 |
| - with: |
26 |
| - run_id: ${{ github.event.workflow_run.id }} |
27 |
| - path: artifacts |
28 |
| - - name: Publish Test Results |
29 |
| - uses: EnricoMi/publish-unit-test-result-action@v2 |
30 |
| - with: |
31 |
| - commit: ${{ github.event.workflow_run.head_sha }} |
32 |
| - event_file: artifacts/Event File/event.json |
33 |
| - event_name: ${{ github.event.workflow_run.event }} |
34 |
| - files: "tmp/artifacts/**/*.xml" |
| 10 | +jobs: |
| 11 | + test-results: |
| 12 | + name: Test Results |
| 13 | + runs-on: ubuntu-latest |
| 14 | + if: github.event.workflow_run.conclusion != 'skipped' |
| 15 | + permissions: |
| 16 | + # required by download step to access artifacts API |
| 17 | + actions: read |
| 18 | + # write the actual check-run |
| 19 | + checks: write |
| 20 | + # needed unless run with comment_mode: off |
| 21 | + pull-requests: write |
| 22 | + steps: |
| 23 | + - name: Download and Extract Artifacts |
| 24 | + uses: dawidd6/action-download-artifact@e7466d1a7587ed14867642c2ca74b5bcc1e19a2d |
| 25 | + with: |
| 26 | + run_id: ${{ github.event.workflow_run.id }} |
| 27 | + path: artifacts |
| 28 | + - name: Publish Test Results |
| 29 | + uses: EnricoMi/publish-unit-test-result-action@v2 |
| 30 | + with: |
| 31 | + commit: ${{ github.event.workflow_run.head_sha }} |
| 32 | + event_file: artifacts/Event File/event.json |
| 33 | + event_name: ${{ github.event.workflow_run.event }} |
| 34 | + files: "tmp/artifacts/**/*.xml" |
0 commit comments