Make it clear manually caching gems is a bad idea

This commit is contained in:
Benoit Daloze
2020-12-30 12:36:20 +01:00
parent 2320cdc287
commit 0d3b8b502e
+6
View File
@@ -165,6 +165,12 @@ as shown in the [example](#matrix-of-gemfiles).
To perform caching, this action will use `bundle config --local path $PWD/vendor/bundle`.
Therefore, the Bundler `path` should not be changed in your workflow for the cache to work (no `bundle config path`).
#### Caching `bundle install` manually
It is also possible to cache gems manually,
but this is not recommended because it is verbose and *very difficult* to use a correct cache key.
So, please use `bundler-cache: true` instead and report any issue.
## Windows
Note that running CI on Windows can be quite challenging if you are not very familiar with Windows.