fix: github actions' bazel cache#445
Conversation
GitHub's actions cache appears to be empty, even with recent pushes to main. This config has been working well in Google's github.com/GoogleCloudPlatform/service-extensions repo, which should be building all the same things as this repo. Using --disk_cache avoids putting a bunch of junk in the cache that the previous xdg cache dir entry had to manually strip out. Signed-off-by: Matt Leon <mattleon@google.com>
mpwarres
left a comment
There was a problem hiding this comment.
LGTM, but can you elaborate on "Using --disk_cache avoids putting a bunch of junk in the cache that the previous xdg cache dir entry had to manually strip out"? Is --disk_cache more selective in what it caches?
|
Yes! The Some things which exist in the bazel output root which are completely unnecessary to be cached:
|
Great--thanks! |
GitHub's actions cache appears to be empty, even with recent pushes to main. This config has been working well in Google's github.com/GoogleCloudPlatform/service-extensions repo [1], which should be building all the same things as this repo. Using --disk_cache avoids putting a bunch of junk in the cache that the previous xdg cache dir entry had to manually strip out.