From a938951eea06abdefea2f4c3fcd4f24057185db1 Mon Sep 17 00:00:00 2001 From: congqixia Date: Thu, 11 Apr 2024 10:05:19 +0800 Subject: [PATCH] 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 --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7e8f1cac13..b470b800a4 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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: