From 2aa6f3d3ec95e9e2aa7b4f2b3e5ea1d073385e73 Mon Sep 17 00:00:00 2001 From: "sammy.huang" Date: Mon, 8 Apr 2024 16:57:17 +0800 Subject: [PATCH] enhance: bump codecod-action to v4 (#31984) Signed-off-by: Liang Huang --- .github/workflows/main.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 780325ad26..7e8f1cac13 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -255,19 +255,21 @@ jobs: ls -lah - name: Upload coverage to Codecov if: "github.repository == 'milvus-io/milvus'" - uses: codecov/codecov-action@v3.1.1 + uses: codecov/codecov-action@v4 id: upload_cov with: token: ${{ secrets.CODECOV_TOKEN }} files: ./go_coverage.txt,./lcov_output.info,./it_coverage.txt name: ubuntu-20.04-unittests fail_ci_if_error: true + disable_safe_directory: true - name: Retry Upload coverage to Codecov if: "${{ failure() }} && github.repository == 'milvus-io/milvus'" - uses: codecov/codecov-action@v3.1.1 + uses: codecov/codecov-action@v4 id: retry_upload_cov with: token: ${{ secrets.CODECOV_TOKEN }} files: ./go_coverage.txt,./lcov_output.info,./it_coverage.txt name: ubuntu-20.04-unittests fail_ci_if_error: true + disable_safe_directory: true