Open mikekgfb opened 4 months ago
This is the gt explanation for caches, https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#cache-hits-and-misses
but we don't have an example of how the cache is populated.
Summarizing offline convo:
cc @dbort @larryliu0820
Short term:
Long term:
it seems it’s straightforward — indicate what the cache should cache, how to get a cache key (I guess so we can figure out changes? git version and hardware system, probably), and it will just make things appear (if it has it), and you can check whether cache checkout was successful, or else build it
No saving required, the build system will capture all the files you tried to retrieve and push them into the cache when the run finishes
As suggested by @malfet