mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix GitHub Workflow
This commit is contained in:
parent
9572a3b5e4
commit
77c5328369
26
.github/workflows/cmake.yml
vendored
26
.github/workflows/cmake.yml
vendored
|
|
@ -73,29 +73,3 @@ jobs:
|
|||
name: junit-test-results
|
||||
path: '${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml'
|
||||
retention-days: 1
|
||||
|
||||
---
|
||||
name: Report Test Results
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [ "CMake" ]
|
||||
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 }}
|
||||
- name: Publish Test Report
|
||||
uses: mikepenz/action-junit-report@v3
|
||||
with:
|
||||
commit: ${{github.event.workflow_run.head_sha}}
|
||||
report_paths: '${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml'
|
||||
|
|
|
|||
24
.github/workflows/test-results.yml
vendored
Normal file
24
.github/workflows/test-results.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Report Test Results
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [ "CMake" ]
|
||||
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 }}
|
||||
- name: Publish Test Report
|
||||
uses: mikepenz/action-junit-report@v3
|
||||
with:
|
||||
commit: ${{github.event.workflow_run.head_sha}}
|
||||
report_paths: '${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml'
|
||||
Loading…
Reference in a new issue