Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for asset retries, and deleting existing releases #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nsjames
Copy link

@nsjames nsjames commented Nov 10, 2021

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.

@ncfavier ncfavier mentioned this pull request Nov 24, 2021
@softprops
Copy link
Owner

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.

ncfavier added a commit to ncfavier/action-gh-release that referenced this pull request Dec 4, 2021
ncfavier added a commit to ncfavier/action-gh-release that referenced this pull request Dec 5, 2021
ncfavier added a commit to ncfavier/action-gh-release that referenced this pull request Mar 13, 2022
ncfavier added a commit to ncfavier/action-gh-release that referenced this pull request Mar 13, 2022
ncfavier added a commit to ncfavier/action-gh-release that referenced this pull request Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants