Add the key property to the Cache node modules action

This commit is contained in:
Alexandru Dima
2020-12-11 17:08:01 +01:00
parent 5e6152dcb3
commit dc99b1ab77

View File

@@ -118,6 +118,7 @@ jobs:
env:
cache-name: node-modules-cache
with:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ steps.yarn-cache-key.outputs.value }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
@@ -240,6 +241,7 @@ jobs:
env:
cache-name: node-modules-cache
with:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ steps.yarn-cache-key.outputs.value }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-