diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ec91a67..2baa1f8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,5 +39,5 @@ jobs: uses: ./.github/workflows/clean-up-artifacts.yml needs: deploy-to-production-track # Run this job even if "needs" job is failed - if: ${{ always() && contains(needs.*.result, 'failure') }} + if: success() || failure() secrets: inherit diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f13c8f0..5f1cbae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,5 +27,5 @@ jobs: uses: ./.github/workflows/clean-up-artifacts.yml needs: run-tests # Run this job even if "needs" job is failed - if: ${{ always() && contains(needs.*.result, 'failure') }} + if: success() || failure() secrets: inherit