ci: fix badge artifacts not uploading (include-hidden-files for .badges/)

This commit is contained in:
Kpa-clawbot
2026-03-30 01:38:27 +00:00
parent 54e39c241d
commit ada53ff899
+3 -1
View File
@@ -110,6 +110,7 @@ jobs:
path: .badges/go-*.json
retention-days: 1
if-no-files-found: ignore
include-hidden-files: true
# ───────────────────────────────────────────────────────────────
# 2. Playwright E2E Tests (against Go server with fixture DB)
@@ -205,7 +206,7 @@ jobs:
echo "{\"schemaVersion\":1,\"label\":\"e2e tests\",\"message\":\"${E2E_PASS:-0} passed\",\"color\":\"brightgreen\"}" > .badges/e2e-tests.json
- name: Stop test server
if: success()
if: always()
run: |
if [ -f .server.pid ]; then
kill $(cat .server.pid) 2>/dev/null || true
@@ -220,6 +221,7 @@ jobs:
path: .badges/
retention-days: 1
if-no-files-found: ignore
include-hidden-files: true
# ───────────────────────────────────────────────────────────────
# 3. Build Docker Image