From 87e668275ac7d9b8af7c909137fc0626c3866929 Mon Sep 17 00:00:00 2001 From: Ryan Ghods Date: Sat, 18 Jul 2020 11:09:48 -0700 Subject: [PATCH] add constant to cache key, as gh actions saved an invalid cache to the prior key --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bebdb7d229a..6ba6b967e85 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: path: | node_modules */*/node_modules - key: ${{ runner.os }}-node12-${{ hashFiles('**/package-lock.json') }} + key: 0-${{ runner.os }}-node12-${{ hashFiles('**/package-lock.json') }} - run: bash ./scripts/install.sh if: steps.cache-deps.outputs.cache-hit != 'true' - run: bash ./scripts/ci.sh @@ -48,7 +48,7 @@ jobs: path: | node_modules */*/node_modules - key: ${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }} + key: 0-${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }} - run: bash ./scripts/install.sh if: steps.cache-deps.outputs.cache-hit != 'true' - run: bash ./scripts/ci.sh @@ -78,7 +78,7 @@ jobs: path: | node_modules */*/node_modules - key: ${{ runner.os }}-node12-${{ hashFiles('**/package-lock.json') }} + key: 0-${{ runner.os }}-node12-${{ hashFiles('**/package-lock.json') }} - run: bash ./scripts/install.sh if: steps.cache-deps.outputs.cache-hit != 'true' - run: bash ./scripts/ci.sh