Update actions/cache action

Signed-off-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
Renovate Bot 2022-04-02 09:07:13 +00:00 committed by Tilman Vatteroth
parent baf634b4ce
commit 0f00aa979a
5 changed files with 7 additions and 7 deletions

View file

@ -24,7 +24,7 @@ jobs:
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache yarn cache
uses: actions/cache@v2
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

View file

@ -21,7 +21,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache yarn cache
uses: actions/cache@v2
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

View file

@ -21,7 +21,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache yarn cache
uses: actions/cache@v2
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

View file

@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v3
- name: Cache build
uses: actions/cache@v2.1.7
uses: actions/cache@v3.0.1
id: build-cache
with:
path: .next
@ -31,7 +31,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache yarn cache
uses: actions/cache@v2
uses: actions/cache@v3
id: yarn-cache
if: steps.build-cache.outputs.cache-hit != 'true'
with:

View file

@ -23,7 +23,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache yarn cache
uses: actions/cache@v2
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@ -51,7 +51,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Cache yarn cache
uses: actions/cache@v2
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}