mirror of https://github.com/actions/cache.git
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
|
@ -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…
Reference in New Issue