Skip to content

Commit e6ca85e

Browse files
author
devlamnt176
committed
change env githu action
1 parent ca47348 commit e6ca85e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/flutter.yml

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

4141
- name: Upload coverage to Codecov
42+
run: bash <(curl -s https://codecov.io/bash)
4243
env:
43-
API_KEY: ${{ secrets.COVERAGE_KEY }}
44+
COVERAGE_KEY: ${{ secrets.COVERAGE_KEY }}
4445
uses: codecov/codecov-action@v2
4546
with:
4647
files: ./coverage/lcov.info
4748
flags: flutter
4849
name: code-coverage-report
49-
token: $API_KEY
50+
token: COVERAGE_KEY
5051
fail_ci_if_error: true

0 commit comments

Comments
 (0)