Make package publishing job runs contingent upon changes existing #2461
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In release.yml
In the
publish-pypijob,In the
publish-npmjob,Motivation and Context
Multiple attempts to approve a release have failed.
The process includes gathering the metadata about the release, simultaneously publishing both Python (pypi) and Typescript (npm) packages that may be in the release, and then finishing up with a final step that creates the actual release description and downloadable artifacts on the repo itself.

The Typescript packages appear to have been published:

However, it appears we had no Python packages to publish this time around, and an assumption in the

release.ymlthat there would always be changes in both has brought that fork of the publish process to a halt. And therefore, the next step of finalizing the release has not been run.How Has This Been Tested?
This is a speculative fix since I cannot actually publish the packages myself.
Breaking Changes
Nope.
Types of changes
Checklist