Skip to content

Commit

Permalink
Update build-report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
spbolton authored Feb 22, 2024
1 parent 1808bce commit 8897ce8
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,31 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Download Test Reports
- name: Download Workflow Data
id: data-download
uses: actions/download-artifact@v4
with:
name: 'workflow-data'
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- name: Download Test Reports
id: test-data
uses: actions/download-artifact@v4
continue-on-error: true
with:
pattern: build-reports-test-*
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
merge-multiple: false
path: test-reports
- name: Check paths
id: check-paths
run: |
find workflow-data
find test-reports
- uses: dorny/test-reporter@v1
id: test-reporter
if: steps.data-download.outputs.found_artifact == 'true'
continue-on-error: true
with:
name: 'MVN Test Report' # Name of the check run which will be created
Expand Down

0 comments on commit 8897ce8

Please sign in to comment.