From 8a219cb36ab0ec8383ff3501856079dfde83ab97 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Tue, 9 May 2023 09:44:22 +0200 Subject: [PATCH] ci: Fix skipping codecov2 upload for scheduled (#3015) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed330519b0c..b6f273ce22e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -251,7 +251,7 @@ jobs: - name: Push code coverage to codecov id: codecov_2 uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # pin@v3.1.3 - if: steps.codecov_1.outcome == 'failure' && ${{ contains(matrix.platform, 'iOS') && !contains(github.ref, 'release') && github.event.schedule == '' }} + if: ${{ steps.codecov_1.outcome == 'failure' && contains(matrix.platform, 'iOS') && !contains(github.ref, 'release') && github.event.schedule == '' }} with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true