diff --git a/.github/workflows/insiders.yml b/.github/workflows/insiders.yml index 92ddc7e2fe16..310712d429d5 100644 --- a/.github/workflows/insiders.yml +++ b/.github/workflows/insiders.yml @@ -497,7 +497,7 @@ jobs: mv .github/codecov.yml $GITHUB_WORKSPACE - name: Upload coverage to codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2.1.0 with: token: ${{ secrets.CODECOV_TOKEN }} file: ${{env.special-working-directory}}/coverage/cobertura-coverage.xml diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index fafbb61be550..16dbaee9e6f7 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -497,7 +497,7 @@ jobs: mv .github/codecov.yml $GITHUB_WORKSPACE - name: Upload coverage to codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2.1.0 with: # Can't use the token to disambiguate since secrets aren't available from PR-triggered runs. #token: ${{ secrets.CODECOV_TOKEN }}