From b464f8ec82c13750748ff072b59ea7fafb07f1aa Mon Sep 17 00:00:00 2001 From: dvogt23 Date: Tue, 7 Nov 2023 12:42:45 +0100 Subject: [PATCH] fix: Set cache key --- .github/workflows/mdbook.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 6505460..f0cfa14 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -22,9 +22,8 @@ jobs: ~/.cargo/registry ~/.cargo/git ~/.cargo/bin - key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: ${{ runner.os }}-cargo- - name: Setup mdBook uses: peaceiris/actions-mdbook@v1