setup-node icon indicating copy to clipboard operation
setup-node copied to clipboard

Check cache hit before uploading on Post Setup Node

Open matt-halliday opened this issue 6 months ago • 1 comments

Description:

Check for a cache hit before uploading.

On a large codebase with a lot of dependencies, the upload can take some time. If you have a lot of concurrent actions, they will all upload the same cache, even if a job that finished earler has already uploaded a cache for the hash.

Justification:

Would save a lot of time, network bandwidth, and trees!

Are you willing to submit a PR? Yes - I can have go if you think this is feasible/worthwhile!

matt-halliday avatar Aug 20 '25 08:08 matt-halliday

Hi @matt-halliday, Thank you for creating this feature request. We will investigate it and provide feedback as soon as we have some updates.

mahabaleshwars avatar Aug 20 '25 17:08 mahabaleshwars

It would be great! @mahabaleshwars is there any news on this?

edoardocavazza avatar Feb 12 '26 10:02 edoardocavazza