CI: use upload-artifact@v3 (Gitea), best-effort so it never blocks deploy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user