Skip to content

Commit ca47348

Browse files
author
devlamnt176
committed
change env github Action
1 parent 45bb8fc commit ca47348

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/flutter.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ jobs:
3939
run: flutter test --coverage
4040

4141
- name: Upload coverage to Codecov
42+
env:
43+
API_KEY: ${{ secrets.COVERAGE_KEY }}
4244
uses: codecov/codecov-action@v2
4345
with:
4446
files: ./coverage/lcov.info
4547
flags: flutter
4648
name: code-coverage-report
47-
token: 2f59bcbb-7263-4e0c-9a37-e710e39705bb
48-
fail_ci_if_error: true
49+
token: $API_KEY
50+
fail_ci_if_error: true

0 commit comments

Comments
 (0)