From f902d0c3249c03034d421c42d393c1eadb71ae11 Mon Sep 17 00:00:00 2001 From: himself65 Date: Thu, 13 Apr 2023 18:22:20 -0500 Subject: [PATCH] ci: fix cache in `build-master.yml` --- .github/workflows/build-master.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index 385a3f86dc..298dbb8f10 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -137,9 +137,9 @@ jobs: with: path: | ${{ 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: | - ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}- + ${{ runner.os }}-nextjs-dev-${{ hashFiles('**/yarn.lock') }}- - name: Build run: yarn build