Skip to content

Commit d10cb14

Browse files
committed
Fix uploading coverage to Codecov
1 parent 5545299 commit d10cb14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ jobs:
5555
name: TestResults (${{ runner.os }})
5656
path: TestResults-*.html
5757
- name: 📤 Upload coverage report to Codecov
58+
env:
59+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5860
if: matrix.os == 'ubuntu-latest' && env.CODECOV_TOKEN != ''
5961
uses: codecov/codecov-action@v4
6062
with:
6163
files: coverage/*/coverage.cobertura.xml
62-
token: ${{ secrets.CODECOV_TOKEN }}
64+
token: ${{ env.CODECOV_TOKEN }}
6365
- name: 📤 Upload coverage report to Codacy
6466
env:
6567
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}

0 commit comments

Comments
 (0)