Use Gitea-compatible artifact upload action
Staging Backend Quality Gate / validate (pull_request) Successful in 13m27s
Staging Backend Quality Gate / publish (pull_request) Has been skipped

This commit is contained in:
Jesse_Chen
2026-08-06 00:08:18 +08:00
parent 8c3d400ca4
commit 11ae58c7e5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
@@ -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",