svenstaro/upload-release-action

[Feature request] timeout, retry_attempts option for asset upload stucked

KusakabeShi opened this issue · 2 comments

There are some chance to stuck on upload assets.

In this workflow: https://github.com/KusakabeSi/EtherGuard-VPN/actions/runs/1627226628

Attempt #1
image
If this is not a public repo, it will consume all my running times.

It success in Attempt #2

Feature requests:

The compile times consumes 30 minutes, re-run all workflow is not economical.
I need timeout and retry_attempt_times option.

Thanks for the action, it's just what I wanted.

Unfortunately, when i tried to use it to on pydantic I got what appears to be a network error, see this build.

Here's the log message:

Run svenstaro/upload-release-action@v2
Error: request to https://uploads.github.com/repos/samuelcolvin/pydantic/releases/55957733/assets?name=pydantic-1.9.0a2-cp310-cp310-macosx_10_9_x86_64.whl& failed, reason: socket hang up

I'm not sure if this is the same error? And whether or not it's fixable?

We now have retrying. Does this solve your problem?