Skip to content

Commit

Permalink
add constant to cache key, as gh actions saved an invalid cache to th…
Browse files Browse the repository at this point in the history
…e prior key
  • Loading branch information
ryanio committed Jul 18, 2020
1 parent 88df88d commit 87e6682
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 87e6682

Please sign in to comment.