Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix the error with if condition

Jakub Novakb461d7351c7a
diff --git a/.github/workflows/release_pipeline.yml b/.github/workflows/release.yml
similarity index 94%
rename from .github/workflows/release_pipeline.yml
rename to .github/workflows/release.yml
index 57b19f7bc..3345c86d4 100644
--- a/.github/workflows/release_pipeline.yml
+++ b/.github/workflows/release.yml
@@ -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