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:
report:
if: github.event.workflow_run.conclusion != 'skipped'
runs-on: ubuntu-latest
steps:
- name: Download Test Reports
uses: actions/download-artifact@v4
with:
name: results-*
path: test-results
merge-multiple: true
- name: Publish Test Results
uses: phoenix-actions/test-reporting@v12
with:
artifact: /results-(.*)/
name: '$1'
path: '*.trx'
name: 'Test Results'
path: 'test-results/*.trx'
reporter: dotnet-trx