Modified the github release creation workflow to be idempotent https://github.com/GrandOrgue/grandorgue/issues/2397#2446
Open
oleg68 wants to merge 1 commit intoGrandOrgue:masterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Resolves: #2397
This PR makes the relese creation on GitHub more robust. If a release build fails, the second running of workflow (with or without additional commits) will continue the release publication even some artifacts (a git tag or a draft release) remains after the previous build.
Earlier I needed to do some manual cleanup before the second attempt.
It affects only the github build workflow. No GO behavior should be changed.