infra: update release workflow (#30207)

Fix condition
This commit is contained in:
ccurme 2025-03-10 17:53:03 -04:00 committed by GitHub
parent 70fc0b8363
commit 27d86d7bc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -386,12 +386,13 @@ jobs:
- pre-release-checks - pre-release-checks
- test-prior-published-packages-against-new-core - test-prior-published-packages-against-new-core
if: > if: >
( always() &&
startsWith(inputs.working-directory, 'libs/core') needs.build.result == 'success' &&
&& needs.test-prior-published-packages-against-new-core.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') (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 runs-on: ubuntu-latest
permissions: permissions: