From 9abc6c9e8adb333dbda8713dd22eed7cc8110903 Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Sat, 1 Jan 2022 14:07:57 +0100 Subject: [PATCH] Fix caching --- .github/workflows/site.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 6d19ce67b..42dd9596b 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -15,8 +15,12 @@ jobs: - uses: actions/cache@v2 with: path: | - **/node_modules - key: ${{ runner.os }}-site-${{ hashFiles('**/packages-lock.json') }} + ~/.cargo/registry + ~/.cargo/git + ~/.cargo/bin + crates/rune-wasm/node_modules + target + key: ${{ runner.os }}-site-${{ hashFiles('crates/rune-wasm/package-lock.json') }} restore-keys: | ${{ runner.os }}-site- - uses: actions-rs/toolchain@v1 @@ -31,7 +35,7 @@ jobs: - name: Setup mdBook uses: peaceiris/actions-mdbook@v1 with: - mdbook-version: 'latest' + mdbook-version: latest - name: Build Playground (Install Dependencies) working-directory: crates/rune-wasm