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

Catch cache.restoreCache errors and warn instead of fail

Open maurobringolf opened this issue 2 years ago • 1 comments

I did this to mitigate https://github.com/actions/cache/issues/820. Probably a bit blunt to treat all Errors the same which is why I marked this as a draft and am open to suggestions.

maurobringolf avatar Jun 13 '22 13:06 maurobringolf

If the cache restore fails, the workflow may proceed without initializing some components that should be initialized, which is one of the workarounds that currently has not been fully implemented. So even if this is merged, it will fail if there is a problem with the cache server.

smorimoto avatar Jun 22 '22 14:06 smorimoto