Skip to content

Commit

Permalink
Fix the error with if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Oct 22, 2024
1 parent f185b31 commit b461d73
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ jobs:
uses: ./.github/workflows/cli_tests.yml
secrets: inherit

release:
name: Release
publish:
name: Publish
needs: [is_release, python-tests, js-tests, cli-tests]
if: !contains(needs.*.result, 'failure') && !cancelled() && needs.is_release.outputs.release == 'true'
if: (!cancelled()) && !contains(needs.*.result, 'failure') && needs.is_release.outputs.release == 'true'
uses: ./.github/workflows/publish_packages.yml
secrets: inherit

report-failure:
needs: [python-tests, js-tests, cli-tests, release]
needs: [python-tests, js-tests, cli-tests, publish]
if: failure()
name: Release Failed - Slack Notification
runs-on: ubuntu-latest
Expand Down

0 comments on commit b461d73

Please sign in to comment.