Download artifacts for Publish Test Results workflow

This commit is contained in:
Mark McDowall 2024-01-12 15:14:06 -08:00 committed by Mark McDowall
parent 541d3307e1
commit 3259e6dc10
1 changed files with 10 additions and 3 deletions

View File

@ -13,12 +13,19 @@ permissions:
jobs: jobs:
report: report:
if: github.event.workflow_run.conclusion != 'skipped'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download Test Reports
uses: actions/download-artifact@v4
with:
name: results-*
path: test-results
merge-multiple: true
- name: Publish Test Results - name: Publish Test Results
uses: phoenix-actions/test-reporting@v12 uses: phoenix-actions/test-reporting@v12
with: with:
artifact: /results-(.*)/ name: 'Test Results'
name: '$1' path: 'test-results/*.trx'
path: '*.trx'
reporter: dotnet-trx reporter: dotnet-trx