From 9a65da3e78bd92934db2759d3083cbf2791c5e67 Mon Sep 17 00:00:00 2001 From: cliffhall Date: Wed, 17 Sep 2025 11:44:40 -0400 Subject: [PATCH] * In .github/workflows/release.yml - in create-release job condition - check for all combinations of publish results that should lead to a release creation - npm = success / pypi = skipped - npm = skipped / pypi = success - npm = success / pypi = success --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64178c3c..26f3e464 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -193,7 +193,12 @@ jobs: create-release: needs: [update-packages, create-metadata, publish-pypi, publish-npm] - if: needs.update-packages.outputs.changes_made == 'true' + if: | + needs.update-packages.outputs.changes_made == 'true' && + (always() && + (needs.publish-pypi.result == 'success' || needs.publish-pypi.result == 'skipped') && + (needs.publish-pypi.result == 'skipped' || needs.publish-npm.result == 'success') && + (needs.publish-pypi.result == 'success' || needs.publish-npm.result == 'success')) runs-on: ubuntu-latest environment: release permissions: