Skip to content

PR Builder Reports #5659

PR Builder Reports

PR Builder Reports #5659

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, 21 ]
os: [ ubuntu-latest ]
steps:
- name: Download Artifacts
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11
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@a2911bd1a4412ec18dde2d93b1758b3e56d2a880
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 }}