mirror of
https://github.com/apple/pkl.git
synced 2026-03-18 07:13:54 +01:00
35 lines
1.1 KiB
YAML
Generated
35 lines
1.1 KiB
YAML
Generated
# Generated from Workflow.pkl. DO NOT EDIT.
|
|
name: PR Test Reports
|
|
'on':
|
|
workflow_run:
|
|
types:
|
|
- completed
|
|
workflows:
|
|
- Pull Request
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
test-results:
|
|
name: Test Results
|
|
if: github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure'
|
|
permissions:
|
|
actions: read
|
|
checks: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Download artifacts
|
|
uses: dawidd6/action-download-artifact@ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 # v11
|
|
with:
|
|
path: artifacts
|
|
name: test-results-.*
|
|
name_is_regexp: true
|
|
run_id: ${{ github.event.workflow_run.id }}
|
|
- name: Publish test results
|
|
uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2
|
|
with:
|
|
commit: ${{ github.event.workflow_run.head_sha }}
|
|
comment_mode: 'off'
|
|
files: artifacts/**/*.xml
|
|
event_file: artifacts/test-results-event-file/event.json
|
|
event_name: ${{ github.event.workflow_run.event }}
|