From 88cdb6e6a001c73bdccb356e7f5722f91b3fc218 Mon Sep 17 00:00:00 2001 From: Jesse_Chen Date: Wed, 5 Aug 2026 23:17:56 +0800 Subject: [PATCH] Use runner-native 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 d0f48038..f943c38d 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: https://gitea.com/actions/upload-artifact@v4 + uses: actions/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 60a7ded0..53af1216 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: https:\/\/gitea\.com\/actions\/upload-artifact@v4/); + assert.match(workflow, /uses: actions\/upload-artifact@v4/); assert.match(workflow, /name: staging-image-manifest-\$\{\{ gitea\.sha \}\}-\$\{\{ gitea\.run_attempt \}\}/); assertOrder(workflow, [ "docker login",