Skip to content

Commit 22c9878

Browse files
committed
Update codecov/codecov-action to v4
1 parent 1821ac7 commit 22c9878

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ jobs:
5454
name: TestResults (${{ runner.os }})
5555
path: TestResults-*.html
5656
- name: Upload coverage report to Codecov
57-
if: matrix.os == 'ubuntu-latest'
58-
uses: codecov/codecov-action@v3
57+
if: matrix.os == 'ubuntu-latest' && env.CODECOV_TOKEN != ''
58+
uses: codecov/codecov-action@v4
5959
with:
6060
files: coverage/*/coverage.cobertura.xml
61+
token: ${{ secrets.CODECOV_TOKEN }}
6162
- name: Upload coverage report to Codacy
6263
env:
6364
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}

0 commit comments

Comments
 (0)