diff --git a/README.md b/README.md index 5e0a708..8107d4f 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ You can cache the installed gems with these two steps: key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}- - - name: Bundle install + - name: bundle install run: | bundle config path vendor/bundle bundle install --jobs 4 --retry 3 @@ -113,7 +113,7 @@ When using a single job with a Ruby version, replace `${{ matrix.ruby }}` with t When using `.ruby-version`, replace `${{ matrix.ruby }}` with `${{ hashFiles('.ruby-version') }}`. This uses the [cache action](https://github.com/actions/cache). -The code above is a more complete version of the [Ruby - Gem example](https://github.com/actions/cache/blob/master/examples.md#ruby---gem). +The code above is a more complete version of the [Ruby - Bundler example](https://github.com/actions/cache/blob/master/examples.md#ruby---bundler). Make sure to include `use-ruby` in the `key` to avoid conflicting with previous caches. ## Limitations