From 9ecf763784d43e62a966cbcddcf45bb5d31f0647 Mon Sep 17 00:00:00 2001 From: Jens Date: Mon, 27 Jul 2020 15:20:35 +0200 Subject: [PATCH] Update examples.md Update the example for rust so that the cache key actually works as intended --- examples.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples.md b/examples.md index 277c6f3..8bed3b0 100644 --- a/examples.md +++ b/examples.md @@ -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