From 27d86d7bc87d38798a0ab39f0b593ff4f890a83a Mon Sep 17 00:00:00 2001 From: ccurme Date: Mon, 10 Mar 2025 17:53:03 -0400 Subject: [PATCH] infra: update release workflow (#30207) Fix condition --- .github/workflows/_release.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index 67e9584a625..982d9c30be1 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: