Skip to content

Commit ac9ab34

Browse files
committed
fix: GitHub Actions
1 parent 97c875b commit ac9ab34

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ jobs:
4848
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
4949
static_site_generator: next
5050

51-
- name: Restore cache
52-
uses: actions/cache@v4
53-
with:
54-
path: |
55-
${{ env.STORE_PATH }}
56-
${{ github.workspace }}/.next/cache
57-
# Generate a new cache whenever packages or source files change.
58-
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
59-
# If source files changed but packages didn't, rebuild from a prior cache.
60-
restore-keys: |
61-
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
51+
# - name: Restore cache
52+
# uses: actions/cache@v4
53+
# with:
54+
# path: |
55+
# ${{ env.STORE_PATH }}
56+
# ${{ github.workspace }}/.next/cache
57+
# # Generate a new cache whenever packages or source files change.
58+
# key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
59+
# # If source files changed but packages didn't, rebuild from a prior cache.
60+
# restore-keys: |
61+
# ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
6262

6363
- name: Install dependencies
6464
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)