Skip to content

The agent engineering platform.

infra: update release workflow (#30203)

ccurme70fc0b8363a5
diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml
index e72ed2bce7..67e9584a62 100644
--- a/.github/workflows/_release.yml
+++ b/.github/workflows/_release.yml
@@ -385,6 +385,14 @@ jobs:
- test-pypi-publish
- 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')
+ )
runs-on: ubuntu-latest
permissions:
# This permission is used for trusted publishing: