CI: use upload-artifact@v3 (Gitea), best-effort so it never blocks deploy

This commit is contained in:
2026-06-17 20:23:40 +10:00
parent fbad7a18db
commit f132303d6d
+4 -1
View File
@@ -47,7 +47,10 @@ jobs:
run: npx @cyclonedx/cyclonedx-npm --output-file sbom.json
- name: Upload SBOM
uses: actions/upload-artifact@v4
# Gitea's artifact backend doesn't support upload-artifact@v4 (GHES) — use v3,
# and never let a best-effort artifact upload block the deploy.
continue-on-error: true
uses: actions/upload-artifact@v3
with:
name: sbom
path: sbom.json