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

Retry 500 errors from gh release #52

Closed
Veetaha opened this issue Sep 9, 2023 · 1 comment
Closed

Retry 500 errors from gh release #52

Veetaha opened this issue Sep 9, 2023 · 1 comment

Comments

@Veetaha
Copy link

Veetaha commented Sep 9, 2023

See this example release run: ci link.
Upload failed with the following output.

+ gh release upload v0.3.0 cargo-marker-x86_64-unknown-linux-gnu.tar.gz cargo-marker-x86_64-unknown-linux-gnu.zip cargo-marker-x86_64-unknown-linux-gnu.sha256 --clobber
HTTP 502: Server Error (https://api.github.com/repos/Veetaha/marker/releases/assets/125294025)
Error: Process completed with exit code 1.

I suggest using exponential backoff to retry the gh release operation when it fails.
Here is an example bash function that we use to retry any network operations.

taiki-e added a commit to taiki-e/create-gh-release-action that referenced this issue Sep 9, 2023
taiki-e added a commit that referenced this issue Sep 9, 2023
@taiki-e
Copy link
Owner

taiki-e commented Sep 9, 2023

Thanks for the report! Addressed in 1.16.1.

@taiki-e taiki-e closed this as completed Sep 9, 2023
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

No branches or pull requests

2 participants