mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-29 06:55:27 +08:00
enhance: bump codecod-action to v4 (#31984)
Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
This commit is contained in:
parent
7b400252ff
commit
2aa6f3d3ec
6
.github/workflows/main.yaml
vendored
6
.github/workflows/main.yaml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user