mirror of
https://github.com/actions/cache.git
synced 2025-03-13 11:47: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/git
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
cargo-
|
||||
```
|
||||
|
||||
## Scala - SBT
|
||||
|
|
Loading…
Add table
Reference in a new issue