From 4ad0c334c33011d7ecd093db374196c38cf472a1 Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Mon, 3 May 2021 17:12:01 +0930 Subject: [PATCH] chore: reset nexe cache on package-lock update --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc66966f9..2a9f714de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -171,9 +171,9 @@ jobs: uses: actions/cache@v2 with: path: ~/.nexe - key: ${{ runner.os }}-nexe + key: ${{ runner.os }}-nexe-${{ hashFiles('**/package-lock.json') }} restore-keys: | - ${{ runner.os }}-nexe + ${{ runner.os }}-nexe-${{ hashFiles('**/package-lock.json') }} - name: Install nexe run: npm i -g nexe