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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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