mirror of
https://github.com/actions/cache.git
synced 2025-03-13 19:57:00 +00:00
Update examples.md
Update the example for rust so that the cache key actually works as intended
This commit is contained in:
parent
d29c1df198
commit
9ecf763784
1 changed files with 3 additions and 1 deletions
|
@ -456,7 +456,9 @@ When dependencies are installed later in the workflow, we must specify the same
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
target
|
target
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
cargo-
|
||||||
```
|
```
|
||||||
|
|
||||||
## Scala - SBT
|
## Scala - SBT
|
||||||
|
|
Loading…
Add table
Reference in a new issue