github/workflows: use actions/cache@v2

This commit is contained in:
Patrik Oldsberg
2020-06-02 14:01:08 +02:00
parent 5afd535546
commit 2b6cd94cfa
6 changed files with 11 additions and 11 deletions
@@ -19,7 +19,7 @@ jobs:
- name: get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}