33 lines
891 B
YAML
33 lines
891 B
YAML
name: Upload Reports
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: ["CI"]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
upload:
|
|
name: Loadtest
|
|
permissions:
|
|
checks: write
|
|
runs-on: ubuntu-latest
|
|
if: github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure'
|
|
steps:
|
|
- name: Download from Artifacts
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
run-id: ${{github.event.workflow_run.id }}
|
|
name: loadtest.md
|
|
path: artifacts
|
|
- name: Upload to GitHub Checks
|
|
uses: LouisBrunner/checks-action@v2.0.0
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sha: ${{ github.event.workflow_run.head_sha }}
|
|
name: Loadtest Results
|
|
conclusion: neutral
|
|
output: |
|
|
{"summary":""}
|
|
output_text_description_file: artifacts/loadtest.md
|