download-artifact icon indicating copy to clipboard operation
download-artifact copied to clipboard

[feat req] Allow timeout input setting

Open Itxaka opened this issue 5 months ago • 0 comments

What would you like to be added?

Add an input that sets the timeout for the action to succedd

Why is this needed?

Sometimes runners are very slow, either github or self hosted, they can have a bad connection to the url for the artifact download.

In those cases you can get a download-artifact action running there for hours due to the network issues, which slows the whole workflow and worst, can consume useless CPU hours.

Adding a timeout would allow the action to fail after an specific amount on time, so we can see the errors faster and we dont spend CPU cycles absurdly.

Itxaka avatar Mar 07 '24 16:03 Itxaka