docs: bump actions/cache from v1 to v2

This commit is contained in:
peaceiris 2020-06-19 00:43:10 +09:00
parent d2b7688ae3
commit 688a3b3d0c
No known key found for this signature in database
GPG Key ID: 5868468A8EBA64EC
1 changed files with 6 additions and 6 deletions

View File

@ -551,7 +551,7 @@ jobs:
node-version: '12.x' node-version: '12.x'
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: ~/.npm path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@ -595,7 +595,7 @@ jobs:
node-version: '12.x' node-version: '12.x'
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: ~/.npm path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@ -647,7 +647,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: ${{ steps.yarn-cache.outputs.dir }} path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@ -694,7 +694,7 @@ jobs:
node-version: '12.x' node-version: '12.x'
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: ~/.npm path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@ -750,7 +750,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: ${{ steps.yarn-cache.outputs.dir }} path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
@ -806,7 +806,7 @@ jobs:
run: echo "::set-output name=dir::$(pip cache dir)" run: echo "::set-output name=dir::$(pip cache dir)"
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: ${{ steps.pip-cache.outputs.dir }} path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}