docs: Enhance cache key (#235)

This commit is contained in:
Shohei Ueda
2020-04-17 09:53:26 +09:00
committed by GitHub
parent 63cdebd96b
commit f1ebad9abb

View File

@@ -715,9 +715,9 @@ jobs:
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
${{ runner.os }}-website-
- run: yarn install
- run: yarn build