Skip to content

Commit

Permalink
fix(build): cache node correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Silthus committed May 23, 2020
1 parent abb052d commit 20bb9e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Expand Up @@ -61,11 +61,11 @@ jobs:
node-version: "12.x"

- uses: actions/cache@v1
name: Cache Node
id: cache-node
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
key: ${{ runner.os }}-node

- name: Cache Gradle
id: cache-gradle
Expand Down

0 comments on commit 20bb9e3

Please sign in to comment.