Use upload-artifact@v3 on Gitea refresh workflows.

v4 is unsupported on this Gitea host and was failing the job after a successful refresh; keep continue-on-error so summary upload cannot mask refresh success.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
voson
2026-07-30 18:48:12 +08:00
co-authored by Cursor
parent 2c4e2c2653
commit 633a6f16b9
3 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -64,7 +64,9 @@ jobs:
- name: Save refresh summary - name: Save refresh summary
if: always() if: always()
uses: actions/upload-artifact@v4 continue-on-error: true
# v4 artifact API unsupported on Gitea; v3 still uploads for notify digests.
uses: actions/upload-artifact@v3
with: with:
name: web-daily-refresh-${{ github.run_id }} name: web-daily-refresh-${{ github.run_id }}
path: web/.refresh/summary.json path: web/.refresh/summary.json
+3 -1
View File
@@ -62,7 +62,9 @@ jobs:
- name: Save refresh summary - name: Save refresh summary
if: always() if: always()
uses: actions/upload-artifact@v4 continue-on-error: true
# v4 artifact API unsupported on Gitea; v3 still uploads for notify digests.
uses: actions/upload-artifact@v3
with: with:
name: web-patch-refresh-${{ github.run_id }} name: web-patch-refresh-${{ github.run_id }}
path: web/.refresh/summary.json path: web/.refresh/summary.json
+3 -1
View File
@@ -62,7 +62,9 @@ jobs:
- name: Save refresh summary - name: Save refresh summary
if: always() if: always()
uses: actions/upload-artifact@v4 continue-on-error: true
# v4 artifact API unsupported on Gitea; v3 still uploads for notify digests.
uses: actions/upload-artifact@v3
with: with:
name: web-weekly-refresh-${{ github.run_id }} name: web-weekly-refresh-${{ github.run_id }}
path: web/.refresh/summary.json path: web/.refresh/summary.json