mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-27 22:49:17 +01:00
Update Ruby example in documentation to specify bundler path (#113)
* Update Ruby example to specify bundler path * Fix spacing
This commit is contained in:
parent
95c1798369
commit
3d01b4eb53
1 changed files with 8 additions and 0 deletions
|
@ -219,6 +219,14 @@ Replace `~/.cache/pip` with the correct `path` if not using Ubuntu.
|
|||
restore-keys: |
|
||||
${{ runner.os }}-gem-
|
||||
```
|
||||
When dependencies are installed later in the workflow, we must specify the same path for the bundler.
|
||||
|
||||
```yaml
|
||||
- name: Bundle install
|
||||
run: |
|
||||
bundle config path vendor/bundle
|
||||
bundle install --jobs 4 --retry 3
|
||||
```
|
||||
|
||||
## Rust - Cargo
|
||||
|
||||
|
|
Loading…
Reference in a new issue