Skip to content

Commit 8881844

Browse files
committed
* In .github/workflows/release.yml
- in create-release job condition - add comments about use of always
1 parent 20430df commit 8881844

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ jobs:
194194
create-release:
195195
needs: [update-packages, create-metadata, publish-pypi, publish-npm]
196196
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
197199
always() &&
198200
needs.update-packages.outputs.changes_made == 'true' &&
199201
(needs.publish-pypi.result == 'success' || needs.publish-npm.result == 'success')

0 commit comments

Comments
 (0)