github/workflows: update yarn cache step names

This commit is contained in:
Patrik Oldsberg
2020-03-25 11:09:53 +01:00
parent ae61369fe1
commit 5012ce5335
3 changed files with 9 additions and 6 deletions
+3 -2
View File
@@ -17,10 +17,11 @@ jobs:
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: find location of yarn cache
- name: find location of global yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
- name: cache global yarn cache
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
+3 -2
View File
@@ -14,10 +14,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: find location of yarn cache
- name: find location of global yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
- name: cache global yarn cache
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
+3 -2
View File
@@ -14,10 +14,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: find location of yarn cache
- name: find location of global yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
- name: cache global yarn cache
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}