action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

Support for asset retries, and deleting existing releases

Open nsjames opened this issue 4 years ago • 1 comments

Hey there, we're using this internally for some CI operations that take a considerable amount of time (5 hours) where this action is the last step of that process.

We ran into a GitHub downtime right as it came time to create the release and the upload assets failed only due to connectivity issues and since there is no upload retry mechanism we ended up having to do another 5 hour CI build.

We've added an option to retry asset uploads along with the ability to set an interval between retries.

Additionally we've added a delete_on_existing option to allows us to completely regenerate a release each time we run CI.

nsjames avatar Nov 10 '21 12:11 nsjames

Thanks for the pull. there's actually an oktokit plugin that implements this for you. If possible I'd love to use this as the standard approach before implementing a custom retry implementation.

softprops avatar Nov 29 '21 15:11 softprops