Skip to content

Commit

Permalink
Use only environment token
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolay-vasilev-prime committed Jul 22, 2024
1 parent bf4efa1 commit 44012e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/build_and_test_rx_bloc_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ jobs:
min_coverage: 50
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
with:
directory: ${{ matrix.folder }}/coverage
token: ${{ secrets.CODECOV_SECRET }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
flutter_packages:
strategy:
matrix:
Expand Down Expand Up @@ -109,11 +108,10 @@ jobs:
min_coverage: 89
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
with:
directory: ${{ matrix.folder }}/coverage
token: ${{ secrets.CODECOV_SECRET }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
packages:
strategy:
matrix:
Expand Down Expand Up @@ -163,11 +161,10 @@ jobs:
min_coverage: 67
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
with:
directory: ${{ matrix.folder }}/coverage
token: ${{ secrets.CODECOV_SECRET }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
cli_packages:
strategy:
matrix:
Expand Down Expand Up @@ -212,11 +209,10 @@ jobs:
min_coverage: 67
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
with:
directory: ${{ matrix.folder }}/coverage
token: ${{ secrets.CODECOV_SECRET }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}

build:
needs: [examples, packages, flutter_packages, cli_packages]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ jobs:
- name: Upload coverage to Codecov
if: ${{ env.UPLOAD_CODE_COVERAGE }}
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
with:
directory: coverage
token: ${{ secrets.CODECOV_SECRET }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}

0 comments on commit 44012e6

Please sign in to comment.