From 0d3b8b502e94d560d4648d361b363b40d77badc7 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Wed, 30 Dec 2020 12:36:20 +0100 Subject: [PATCH] Make it clear manually caching gems is a bad idea --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3616fbb..4494448 100644 --- a/README.md +++ b/README.md @@ -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.