From 20bb9e349a16efb5712c037b1786358447bfdda1 Mon Sep 17 00:00:00 2001 From: Silthus <755327+Silthus@users.noreply.github.com> Date: Sat, 23 May 2020 09:43:04 +0200 Subject: [PATCH] fix(build): cache node correctly --- .github/workflows/gradle.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index bf9d1c3..fece9df 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -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