Update examples.md

Update the example for rust so that the cache key actually works as intended
This commit is contained in:
Jens 2020-07-27 15:20:35 +02:00 committed by GitHub
parent d29c1df198
commit 9ecf763784
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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