cache
cache copied to clipboard
Cache dependencies and build outputs in GitHub Actions
I'm currently trying to cache some resource build intermediates, with the source files coming from all over the repository. As I do not know exactly what files may be source...
Based on @joshmgross's latest comment in https://github.com/actions/cache/issues/133#issuecomment-629381394, here's my use case, same as @evandrocoan https://github.com/actions/cache/issues/133#issuecomment-602695437... **caching Apt list and package files in Ubuntu** ### Example workflow The Apt step here...
Fixes #345
Should we try to use this cache action to cache docker layers, doing trickery with `docker save` and `docker load`, or are you working on a different path for Docker...
From experimentation, it seems that when this action is used for the Windows OS, a path containing a Windows environment variable (like `%LocalAppData%\Programs\stack`) will result in errors (e.g. in one...
We are using this action to cache Conan packages. Our current cached is ~300 MB on both Linux (`ubuntu-20.04`) and Windows (`windows-2019`). Sadly, where the cache step routinely takes ~10...
Add boolean input variables to reevaluate primary cache key & to only restore (skip save post run)
I got a little ambitious with this one. Understand it may never get merged. This tackles a few PRs / issues & topics of conversation all in one: On the...
## Background It appears that even though the Cache key being used to store and retrieve the cache is the same, a cache hit never occurs because the `path` string...
``` ... - name: Fetch stack cache id: stack_cache uses: actions/cache@v2 with: path: /var/tmp/stack key: stack-${{ runner.os }} ... ``` fails with `Preventing creation of stack root '/tmp/stack/'. Parent directory...
As suggested in #317 and #318, I would like to be able to use `actions/cache` for events where the `GITHUB_REF` environment variable is not necessarily defined. For example, I currently...