Skip to content

Commit 71f9c7f

Browse files
committed
fix: corrected logic for the Codecov secret check
1 parent abe4d0c commit 71f9c7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ jobs:
7676
path: test-output
7777

7878
- name: (Optional) Upload coverage to Codecov
79-
if: success() && secrets.CODECOV_TOKEN
79+
if: success() && env.CODECOV_TOKEN != ''
8080
uses: codecov/codecov-action@v4
8181
with:
8282
files: test-output/coverage.xml
83+
token: ${{ secrets.CODECOV_TOKEN }}
8384
env:
8485
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)