fix(ci): drop upload-artifact@v4 (unsupported by Gitea Actions/GHES)
The static gate passes (lint + Kyverno L0 + L1 render) but the trailing actions/upload-artifact@v4 step fails with "not supported on GHES" — Gitea Actions does not implement the artifact-v2 backend — and its always() failure sank the whole job. Remove the step; JUnit/coverage remain in the job workspace. Re-add via the @v3 action or Gitea's artifact backend later if retention is needed. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
0f75fa29ca
commit
67bc3175f5
1 file changed
+5
-9
@@ -60,15 +60,11 @@ jobs:
|
|||||||
- name: Static gate — lint + Kyverno L0 + L1 render
|
- name: Static gate — lint + Kyverno L0 + L1 render
|
||||||
run: make -C ci lint l0 l1
|
run: make -C ci lint l0 l1
|
||||||
|
|
||||||
- name: Upload gate artifacts
|
# NOTE: no actions/upload-artifact step. Gitea Actions rejects upload-artifact@v4
|
||||||
if: always()
|
# ("not supported on GHES" — Gitea does not implement the artifact-v2 backend), which
|
||||||
uses: actions/upload-artifact@v4
|
# would fail the job even on a green gate. JUnit + coverage are written under
|
||||||
with:
|
# conformance/_artifacts/ in the job workspace; wire artifact upload later via the
|
||||||
name: gate-junit-coverage
|
# Gitea-compatible @v3 action or Gitea's own artifact backend if retention is wanted.
|
||||||
path: |
|
|
||||||
results/junit/*.xml
|
|
||||||
reports/coverage/**
|
|
||||||
if-no-files-found: ignore
|
|
||||||
|
|
||||||
# ───────────────────────────────────────────────────────────────────────────
|
# ───────────────────────────────────────────────────────────────────────────
|
||||||
# PLACEHOLDER — NOT WIRED (STOP-and-report item, WS-GITOSS Phase 6).
|
# PLACEHOLDER — NOT WIRED (STOP-and-report item, WS-GITOSS Phase 6).
|
||||||
|
|||||||
Reference in new issue
Block a user