mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
enhance: [skip e2e] fix upload code cov if syntax (#32128)
The re-upload step is always true since the syntax is wrong Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
789e014c74
commit
a938951eea
4
.github/workflows/main.yaml
vendored
4
.github/workflows/main.yaml
vendored
@ -254,7 +254,7 @@ jobs:
|
||||
run: |
|
||||
ls -lah
|
||||
- name: Upload coverage to Codecov
|
||||
if: "github.repository == 'milvus-io/milvus'"
|
||||
if: ${{ github.repository == 'milvus-io/milvus' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
id: upload_cov
|
||||
with:
|
||||
@ -264,7 +264,7 @@ jobs:
|
||||
fail_ci_if_error: true
|
||||
disable_safe_directory: true
|
||||
- name: Retry Upload coverage to Codecov
|
||||
if: "${{ failure() }} && github.repository == 'milvus-io/milvus'"
|
||||
if: ${{ failure() && github.repository == 'milvus-io/milvus' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
id: retry_upload_cov
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user