[ci] only upload report_pr (#13452)

Currently, the `size-check` job uploads all intermediates used for
generating the report. This commit changes the `size-check` to upload
the final size report file only, so that it won't bloat the artifacts.
This commit is contained in:
Yakun Xu
2026-07-31 08:16:48 -07:00
committed by GitHub
parent f232204651
commit e53dd18e53
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -68,4 +68,5 @@ jobs:
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: report_pr
path: /tmp/ot-size-report
path: |
/tmp/ot-size-report/report_pr
+1 -1
View File
@@ -42,7 +42,7 @@ OT_REPORT_FILE_TABLE="${OT_TMP_DIR}/report_table"
readonly OT_REPORT_FILE_TABLE
OT_REPORT_FILE_PR="${OT_TMP_DIR}/report_pr"
readonly OT_REPORT_FILE_TABLE
readonly OT_REPORT_FILE_PR
PR_NUMBER="${PR_NUMBER:-}"