From d3a54d587d5f1855e100bc3089af52894f2e4a0d Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 27 Mar 2025 23:09:40 -0700 Subject: [PATCH] Include src in cache keys --- .github/workflows/docker-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index f8a3e67db..e60e64860 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -68,9 +68,9 @@ jobs: uses: actions/cache@v4 with: path: .next/cache - key: nextjs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} + key: nextjs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx') }} restore-keys: | - nextjs-${{ runner.os }}- + nextjs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} - name: Install pnpm uses: pnpm/action-setup@v4