This repository was archived by the owner on Dec 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 issues : read
1717 checks : write
1818 pull-requests : write
19- if : |
20- github.event.workflow_run.event == "pull_request" &&
21- github.event.workflow_run.conclusion != 'skipped'
19+ if : github.event.workflow_run.conclusion != 'skipped'
2220
2321 steps :
2422 - name : Download test results
2927
3028 artifacts_url=${{ github.event.workflow_run.artifacts_url }}
3129
32- gh api "$artifacts_url" -q '.artifacts[] | select(.name=="tests") | [.name, .archive_download_url] | @tsv' | while read artifact
33- do
30+ gh api "$artifacts_url" -q '.artifacts[] | select(.name=="tests" or .name=="EventFile" ) | [.name, .archive_download_url] | @tsv' | \
31+ while read artifact; do
3432 IFS=$'\t' read name url <<< "$artifact"
3533 gh api $url > "$name.zip"
3634 unzip -d "$name" "$name.zip"
4038 uses : EnricoMi/publish-unit-test-result-action@v2
4139 with :
4240 commit : ${{ github.event.workflow_run.head_sha }}
43- event_file : artifacts/Event File /event.json
41+ event_file : artifacts/EventFile /event.json
4442 report_individual_runs : true
4543 event_name : ${{ github.event.workflow_run.event }}
4644 junit_files : " artifacts/**/*.junit"
You can’t perform that action at this time.
0 commit comments