Skip to content

Commit 72d98e0

Browse files
committed
save metadata
1 parent 5016e3e commit 72d98e0

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/package_core.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ jobs:
416416
# gather the array of job metadata (especially name and ID) for the current workflow run
417417
export WORKFLOW_JOBS=$(gh run view ${{ github.run_id }} --attempt ${{ github.run_attempt }} --json jobs --jq '.jobs')
418418
# Collect all CI data into a JSON file, then generate the report
419-
extra/ci_collect_data.py ci_data.json
420-
extra/ci_generate_report.py ci_data.json result summary full_log
419+
extra/ci_collect_data.py ${CORE_VER}.json
420+
extra/ci_generate_report.py ${CORE_VER}.json result summary full_log
421421
cat result
422422
423423
# Display the summary and full log in the step summary
@@ -445,6 +445,14 @@ jobs:
445445
# errors due to race conditions with parallel branch runs should not fail the job
446446
extra/ci_calc_size_reports.py ${GITHUB_BASE_SHA} sketches-reports/ || true
447447
448+
# upload build metadata artifact, for upload to ci-builds
449+
- name: Archive build metadata information
450+
uses: actions/upload-artifact@v7
451+
with:
452+
name: build-metadata
453+
path: ${{ env.CORE_VER }}.json
454+
retention-days: 1
455+
448456
# upload comment request artifact (will be retrieved by leave_pr_comment.yml)
449457
- name: Archive comment information
450458
uses: actions/upload-artifact@v7

0 commit comments

Comments
 (0)