From 8ae463e9a6cee9bc76a8dc9dd61a594d2e0d94aa Mon Sep 17 00:00:00 2001 From: Loosetooth Date: Tue, 3 Oct 2023 16:49:07 +0200 Subject: [PATCH] try disabling cache --- .github/workflows/nextjs.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 7651700..4b73bae 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -65,16 +65,16 @@ jobs: # static_site_generator: next - name: Set up next.config.mjs for workflow run: mv ./next.config.workflow.mjs ./next.config.mjs - - name: Restore cache - uses: actions/cache@v3 - with: - path: | - .next/cache - # Generate a new cache whenever packages or source files change. - key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx', '**.mdx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- + # - name: Restore cache + # uses: actions/cache@v3 + # with: + # path: | + # .next/cache + # # Generate a new cache whenever packages or source files change. + # key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx', '**.mdx') }} + # # If source files changed but packages didn't, rebuild from a prior cache. + # restore-keys: | + # ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- - name: Install dependencies run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - name: Build with Next.js