Skip to content

report

report #2

Workflow file for this run

name: report
on:
workflow_run:
workflows:
- 'main-build'
- 'pr-build'
types: [ completed ]
permissions:
checks: write
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Download Test Report
uses: dawidd6/action-download-artifact@v2
with:
name: junit-test-results
workflow: ${{ github.event.workflow.id }}
run_id: ${{ github.event.workflow_run.id }}
path: 'target/surefire-reports'
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
with:
commit: ${{ github.event.workflow_run.head_sha }}
report_paths: 'target/surefire-reports/TEST-*.xml'