[Ruby] Fix the cache gems example

and remove trailing spaces
pull/170/head
Juanito Fatas 6 years ago
parent f9c9166ecb
commit c244938383

@ -305,9 +305,9 @@ Replace `~/.local/share/renv` with the correct `path` if not using Ubuntu.
- uses: actions/cache@v1 - uses: actions/cache@v1
with: with:
path: vendor/bundle path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-gems- ${{ runner.os }}-gem-
``` ```
When dependencies are installed later in the workflow, we must specify the same path for the bundler. When dependencies are installed later in the workflow, we must specify the same path for the bundler.

Loading…
Cancel
Save