* In .github/workflows/release.yml
- in create-release job condition
- add comments about use of always
This commit is contained in:
parent
20430df0de
commit
888184493c
1 changed files with 2 additions and 0 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -194,6 +194,8 @@ jobs:
|
||||||
create-release:
|
create-release:
|
||||||
needs: [update-packages, create-metadata, publish-pypi, publish-npm]
|
needs: [update-packages, create-metadata, publish-pypi, publish-npm]
|
||||||
if: |
|
if: |
|
||||||
|
# Always evaluate this condition, even if a dependency failed
|
||||||
|
# Create a release if changes were made and at least one publish succeeded
|
||||||
always() &&
|
always() &&
|
||||||
needs.update-packages.outputs.changes_made == 'true' &&
|
needs.update-packages.outputs.changes_made == 'true' &&
|
||||||
(needs.publish-pypi.result == 'success' || needs.publish-npm.result == 'success')
|
(needs.publish-pypi.result == 'success' || needs.publish-npm.result == 'success')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue