Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/ci-test-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,14 @@ jobs:
uses: dawidd6/action-download-artifact@v20
with:
run_id: ${{ github.event.workflow_run.id }}
name: event-file-.*
name_is_regexp: true
name: event-file-ubuntu-24.04
path: event

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
commit: ${{ github.event.workflow_run.head_sha }}
event_file: event/event.json
event_file: event/event-file-ubuntu-24.04/event.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A pity that event_file does not support wildcards... so we need to update this workflow file every time change the Ubuntu release.....

Maybe we could think about an alternative way: use an additional step to run
cp event/event-file-ubuntu-*/event.json event/

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good idea. We can also use wildcard (latest) on Ubuntu matrix.

event_name: ${{ github.event.workflow_run.event }}
large_files: true
report_individual_runs: true
Expand Down
Loading