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
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:
@@ -46,8 +46,9 @@ jobs:
|
|||||||
golangci-lint run ./cmd/... ./internal/...
|
golangci-lint run ./cmd/... ./internal/...
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
|
if: always()
|
||||||
|
continue-on-error: true
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: coverage
|
name: coverage
|
||||||
path: coverage.out
|
path: coverage.out
|
||||||
if-no-files-found: warn
|
|
||||||
|
|||||||
Reference in New Issue
Block a user