Skip to content

Commit

Permalink
Fix caching
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Jan 1, 2022
1 parent ae20be7 commit 9abc6c9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9abc6c9

Please sign in to comment.