Skip to content

The agent engineering platform.

infra: update release workflow (#30207)

ccurme27d86d7bc87d
diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml
index 67e9584a62..982d9c30be 100644
--- a/.github/workflows/_release.yml
+++ b/.github/workflows/_release.yml
@@ -386,12 +386,13 @@ jobs:
- pre-release-checks
- test-prior-published-packages-against-new-core
if: >
- (
- startsWith(inputs.working-directory, 'libs/core')
- && needs.test-prior-published-packages-against-new-core.result == 'success'
- )
- || (
- !startsWith(inputs.working-directory, 'libs/core')
+ always() &&
+ needs.build.result == 'success' &&
+ needs.release-notes.result == 'success' &&
+ needs.test-pypi-publish.result == 'success' &&
+ needs.pre-release-checks.result == 'success' && (
+ (startsWith(inputs.working-directory, 'libs/core') && needs.test-prior-published-packages-against-new-core.result == 'success')
+ || (!startsWith(inputs.working-directory, 'libs/core'))
)
runs-on: ubuntu-latest
permissions: