Skip to content

Commit 5e63979

Browse files
committed
Fix codecov token configuration
Move CODECOV_TOKEN from env to with.token parameter for codecov v5. Set fail_ci_if_error to false to prevent CI failures when codecov has issues uploading. Codecov action v5 expects the token to be passed as a parameter in the 'with:' section rather than as an environment variable.
1 parent dc83a90 commit 5e63979

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,5 @@ jobs:
3232
uses: codecov/codecov-action@v5
3333
with:
3434
files: coverage.cobertura.xml
35-
fail_ci_if_error: true
36-
env:
37-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
35+
token: ${{ secrets.CODECOV_TOKEN }}
36+
fail_ci_if_error: false

0 commit comments

Comments
 (0)