From 52e01359ccad777b24fc20ae0e1e8f506626b34e Mon Sep 17 00:00:00 2001 From: leehk Date: Mon, 21 Apr 2025 14:05:15 +0800 Subject: [PATCH] use codecov v2 --- .github/workflows/template_unit_pytest.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/template_unit_pytest.yml b/.github/workflows/template_unit_pytest.yml index c4f0be0..e5dbc1b 100644 --- a/.github/workflows/template_unit_pytest.yml +++ b/.github/workflows/template_unit_pytest.yml @@ -84,11 +84,11 @@ jobs: path: ${{ env.TESTS_COVERAGE_REPORT_PATH }} - name: Upload coverage to Codecov - if: success() || failure() # always run - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v2 with: + token: ${{ secrets.CODECOV_TOKEN }} + version: "v0.1.15" files: ${{ env.TESTS_COVERAGE_REPORT_PATH }} fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }}