ci: fix cache in build-master.yml
This commit is contained in:
4
.github/workflows/build-master.yml
vendored
4
.github/workflows/build-master.yml
vendored
@@ -137,9 +137,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/apps/web/.next/cache
|
${{ github.workspace }}/apps/web/.next/cache
|
||||||
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
|
key: ${{ runner.os }}-nextjs-dev-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
|
${{ runner.os }}-nextjs-dev-${{ hashFiles('**/yarn.lock') }}-
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|||||||
Reference in New Issue
Block a user