Skip to content

Commit

Permalink
update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
linyows committed Jan 25, 2024
1 parent 5634fa6 commit 35ad853
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ jobs:
with:
static_site_generator: next
- name: Restore next cache
working-directory: examples/nextjs
uses: actions/cache@v3
uses: actions/[email protected]
with:
path: .next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
path: |
.next/cache
key: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Restore rotion cache
working-directory: examples/nextjs
uses: actions/cache@v3
uses: actions/[email protected]
with:
path: |
.cache
Expand All @@ -53,7 +54,6 @@ jobs:
run: |
npm run build
- name: Upload artifact
working-directory: examples/nextjs
uses: actions/upload-pages-artifact@v1
with:
path: ./out
Expand Down

0 comments on commit 35ad853

Please sign in to comment.