Update `@action/cache` to use `v4` to fix node 16 deprecation warning (#4774)
This commit is contained in:
Родитель
98448af88a
Коммит
dcaaf8c666
|
@ -32,7 +32,7 @@ jobs:
|
|||
|
||||
# Try get node_modules from cache
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
# Try get node_modules from cache
|
||||
- name: Restore node_modules from cache
|
||||
if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'breaking-change') }}
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -75,7 +75,7 @@ jobs:
|
|||
node-version: 'lts/*'
|
||||
# Try get node_modules from cache
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -153,7 +153,7 @@ jobs:
|
|||
node-version: 'lts/*'
|
||||
# Try get node_modules from cache
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -248,7 +248,7 @@ jobs:
|
|||
node-version: 'lts/*'
|
||||
# Try get node_modules from cache
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -300,7 +300,7 @@ jobs:
|
|||
with:
|
||||
node-version: 'lts/*'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -369,7 +369,7 @@ jobs:
|
|||
with:
|
||||
node-version: 'lts/*'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -438,7 +438,7 @@ jobs:
|
|||
with:
|
||||
node-version: 'lts/*'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -504,7 +504,7 @@ jobs:
|
|||
with:
|
||||
node-version: 'lts/*'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -560,7 +560,7 @@ jobs:
|
|||
with:
|
||||
node-version: 'lts/*'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -591,7 +591,7 @@ jobs:
|
|||
with:
|
||||
node-version: 'lts/*'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -624,7 +624,7 @@ jobs:
|
|||
with:
|
||||
node-version: 'lts/*'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -658,7 +658,7 @@ jobs:
|
|||
with:
|
||||
node-version: 'lts/*'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -692,7 +692,7 @@ jobs:
|
|||
with:
|
||||
node-version: 'lts/*'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
|
||||
# Try get node_modules from cache
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
node-version: 20.x
|
||||
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
node-version: 20.x
|
||||
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -79,7 +79,7 @@ jobs:
|
|||
|
||||
# Try get node_modules from cache
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
node-version: 20.x
|
||||
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20.x'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
node-version: '20.x'
|
||||
# Try get node_modules from cache
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
|
@ -92,7 +92,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20.x'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -188,7 +188,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20.x'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -284,7 +284,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20.x'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -380,7 +380,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20.x'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -476,7 +476,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20.x'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
@ -572,7 +572,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20.x'
|
||||
- name: Restore node_modules from cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: common/temp/pnpm-store
|
||||
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче