From 3f063de5792833738be29b033565d66f69a4c4c8 Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Wed, 27 Sep 2023 12:38:42 +0200 Subject: [PATCH] set env earlier --- .github/workflows/codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 79f554cc75..8e59721cb4 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest env: CARGO_TERM_COLOR: always + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} steps: - uses: actions/checkout@v4 # nightly is required for --doctests, see cargo-llvm-cov#2 @@ -22,6 +23,5 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: - token: ${{ secrets.CODECOV_TOKEN }} files: lcov.info fail_ci_if_error: true