mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-02-19 11:54:58 -05:00
* In .github/workflows/release.yml
- in create-release job condition
- add comments about use of always
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -194,6 +194,8 @@ jobs:
|
||||
create-release:
|
||||
needs: [update-packages, create-metadata, publish-pypi, publish-npm]
|
||||
if: |
|
||||
# Always evaluate this condition, even if a dependency failed
|
||||
# Create a release if changes were made and at least one publish succeeded
|
||||
always() &&
|
||||
needs.update-packages.outputs.changes_made == 'true' &&
|
||||
(needs.publish-pypi.result == 'success' || needs.publish-npm.result == 'success')
|
||||
|
||||
Reference in New Issue
Block a user