CI: fix upload coverage for Gitea Actions
CI / test (push) Successful in 22m22s
Release / build (false, amd64, darwin) (push) Failing after 10m29s
Release / build (false, amd64, windows) (push) Failing after 10m20s
Release / build (false, arm64, darwin) (push) Failing after 10m25s
Release / build (true, amd64, linux) (push) Failing after 10m57s
Release / build (true, arm64, linux) (push) Failing after 10m34s
Release / release (push) Has been skipped

Use if: always() + continue-on-error: true instead of if-no-files-found: warn
Gitea Actions may not fully support all upload-artifact@v4 options
This commit is contained in:
2026-07-30 22:53:27 -04:00
parent fb5ae6ceb5
commit a54b134e87
+2 -1
View File
@@ -46,8 +46,9 @@ jobs:
golangci-lint run ./cmd/... ./internal/...
- name: Upload coverage
if: always()
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage.out
if-no-files-found: warn