chore(deps): update actions/cache action to v3 (#34645)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
renovate[bot] 2022-03-22 10:59:37 +08:00 committed by GitHub
parent 7c182926bc
commit 7f0aa8146f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 48 deletions

View File

@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: cache package-lock.json - name: cache package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
@ -32,7 +32,7 @@ jobs:
cp package-lock.json package-temp-dir cp package-lock.json package-temp-dir
- name: cache node_modules - name: cache node_modules
id: node_modules_cache_id id: node_modules_cache_id
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -50,13 +50,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

View File

@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: cache package-lock.json - name: cache package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
@ -29,7 +29,7 @@ jobs:
cp package-lock.json package-temp-dir cp package-lock.json package-temp-dir
- name: cache node_modules - name: cache node_modules
id: node_modules_cache_id id: node_modules_cache_id
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -46,13 +46,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

View File

@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: cache package-lock.json - name: cache package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
@ -28,7 +28,7 @@ jobs:
cp package-lock.json package-temp-dir cp package-lock.json package-temp-dir
- name: cache node_modules - name: cache node_modules
id: node_modules_cache_id id: node_modules_cache_id
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -44,25 +44,25 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: cache lib - name: cache lib
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: lib path: lib
key: lib-${{ github.sha }} key: lib-${{ github.sha }}
- name: cache es - name: cache es
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: es path: es
key: es-${{ github.sha }} key: es-${{ github.sha }}
@ -81,13 +81,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -103,13 +103,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -125,13 +125,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -148,13 +148,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -174,13 +174,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -197,19 +197,19 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: restore cache from lib - name: restore cache from lib
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: lib path: lib
key: lib-${{ github.sha }} key: lib-${{ github.sha }}
@ -228,19 +228,19 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: restore cache from es - name: restore cache from es
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: es path: es
key: es-${{ github.sha }} key: es-${{ github.sha }}
@ -259,13 +259,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -299,13 +299,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -327,13 +327,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -355,19 +355,19 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: restore cache from lib - name: restore cache from lib
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: lib path: lib
key: lib-${{ github.sha }} key: lib-${{ github.sha }}
@ -391,19 +391,19 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
- name: restore cache from es - name: restore cache from es
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: es path: es
key: es-${{ github.sha }} key: es-${{ github.sha }}
@ -427,13 +427,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@ -463,13 +463,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: restore cache from package-lock.json - name: restore cache from package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
- name: restore cache from node_modules - name: restore cache from node_modules
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

View File

@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: cache package-lock.json - name: cache package-lock.json
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: package-temp-dir path: package-temp-dir
key: lock-${{ github.sha }} key: lock-${{ github.sha }}
@ -31,7 +31,7 @@ jobs:
cp package-lock.json package-temp-dir cp package-lock.json package-temp-dir
- name: cache node_modules - name: cache node_modules
id: node_modules_cache_id id: node_modules_cache_id
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: node_modules path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}