1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

Use event file to line up PR build and reporting (#1026)

Part of #1002
This commit is contained in:
Jonah Graham 2025-01-15 15:35:33 -05:00 committed by GitHub
parent 1b0fcf3e4b
commit 47ecc78979
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -58,12 +58,17 @@ jobs:
with: with:
name: Code Cleanliness Detailed Logs name: Code Cleanliness Detailed Logs
path: '*.log' path: '*.log'
- name: Prepare Test Results for upload
if: (success() || failure())
run: |
cp ${{ github.event_path }} event.json
- name: Upload Test Results - name: Upload Test Results
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
if: success() || failure() if: success() || failure()
with: with:
name: test-results name: test-results
path: | path: |
event.json
*/*/target/surefire-reports/*.xml */*/target/surefire-reports/*.xml
terminal/plugins/org.eclipse.tm.terminal.test/target/surefire-reports/*.xml terminal/plugins/org.eclipse.tm.terminal.test/target/surefire-reports/*.xml
- name: Prepare Docs for upload - name: Prepare Docs for upload

View file

@ -26,3 +26,5 @@ jobs:
with: with:
commit: ${{ github.event.workflow_run.head_sha }} commit: ${{ github.event.workflow_run.head_sha }}
junit_files: "test-results/**/*.xml" junit_files: "test-results/**/*.xml"
event_file: event.json
event_name: ${{ github.event.workflow_run.event }}