From 11ae58c7e5bfeda07ef51c8688180cd9b0e0f9f4 Mon Sep 17 00:00:00 2001 From: Jesse_Chen Date: Thu, 6 Aug 2026 00:08:18 +0800 Subject: [PATCH] Use Gitea-compatible artifact upload action --- .gitea/workflows/backend-quality-gate.yml | 2 +- frontend/tests/staging-backend-workflows.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/backend-quality-gate.yml b/.gitea/workflows/backend-quality-gate.yml index f943c38d..280ad4df 100644 --- a/.gitea/workflows/backend-quality-gate.yml +++ b/.gitea/workflows/backend-quality-gate.yml @@ -269,7 +269,7 @@ jobs: artifacts/staging-images/manifest.env "$GITEA_SHA" "$IMAGE_REPOSITORY" >/dev/null - name: Upload immutable staging image manifest - uses: actions/upload-artifact@v4 + uses: https://gitea.com/actions/gitea-upload-artifact@v4 with: name: staging-image-manifest-${{ gitea.sha }}-${{ gitea.run_attempt }} path: artifacts/staging-images/manifest.env diff --git a/frontend/tests/staging-backend-workflows.test.ts b/frontend/tests/staging-backend-workflows.test.ts index 53af1216..61b196cf 100644 --- a/frontend/tests/staging-backend-workflows.test.ts +++ b/frontend/tests/staging-backend-workflows.test.ts @@ -201,7 +201,7 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest", assert.match(workflow, /get\("os"\)=="linux"/); assert.match(workflow, /get\("architecture"\)=="amd64"/); assert.match(workflow, /node frontend\/scripts\/staging-image-manifest\.mjs/); - assert.match(workflow, /uses: actions\/upload-artifact@v4/); + assert.match(workflow, /uses: https:\/\/gitea\.com\/actions\/gitea-upload-artifact@v4/); assert.match(workflow, /name: staging-image-manifest-\$\{\{ gitea\.sha \}\}-\$\{\{ gitea\.run_attempt \}\}/); assertOrder(workflow, [ "docker login",