Skip to content

Commit

Permalink
Upload to unique named test artefact
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Mar 31, 2024
1 parent b122067 commit 1f0334d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }} # always run even if the previous step fails
with:
name: junit-test-results
name: junit-test-results-${{ matrix.api-level }}
path: '**/build/outputs/**/TEST-*.xml'
retention-days: 1

3 changes: 2 additions & 1 deletion .github/workflows/report_test_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
- name: Download Test Report
uses: dawidd6/action-download-artifact@v3
with:
name: junit-test-results
name: junit-test-results-.*
name_is_regexp: true
workflow: ${{ github.event.workflow.id }}
run_id: ${{ github.event.workflow_run.id }}
- name: Publish Test Report
Expand Down

0 comments on commit 1f0334d

Please sign in to comment.