Skip to content

PR Builder Reports #4306

PR Builder Reports

PR Builder Reports #4306

name: PR Builder Reports
on:
workflow_run:
workflows: [ "PR Builder" ]
types:
- completed
jobs:
tests:
runs-on: ubuntu-latest
strategy:
# Matrix should be coordinated with ci-prb.yml.
matrix:
java: [ 8, 11, 17, 20 ]
os: [ ubuntu-latest ]
steps:
- name: Download Artifacts
uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: ${{ github.event.workflow_run.workflow_id }}
workflow_conclusion: completed
commit: ${{ github.event.workflow_run.head_commit.id }}
# File location set in ci-prb.yml and must be coordinated.
name: test-results-${{ matrix.os }}-${{ matrix.java }}
- name: Publish Test Report
uses: scacap/action-surefire-report@6efd3d10b5c1996a0724dd4c4915a073f685fefa
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: '**/build/test-results/test/TEST-*.xml'
commit: ${{ github.event.workflow_run.head_commit.id }}
check_name: Test Report JDK ${{ matrix.java }} ${{ matrix.os }}