We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4a2540 + 8881844 commit e6bc263Copy full SHA for e6bc263
.github/workflows/release.yml
@@ -193,7 +193,12 @@ jobs:
193
194
create-release:
195
needs: [update-packages, create-metadata, publish-pypi, publish-npm]
196
- if: needs.update-packages.outputs.changes_made == 'true'
+ if: |
197
+ # Always evaluate this condition, even if a dependency failed
198
+ # Create a release if changes were made and at least one publish succeeded
199
+ always() &&
200
+ needs.update-packages.outputs.changes_made == 'true' &&
201
+ (needs.publish-pypi.result == 'success' || needs.publish-npm.result == 'success')
202
runs-on: ubuntu-latest
203
environment: release
204
permissions:
0 commit comments