From 85efea7dc8976e1293b02e0f0c1214f66bbd06a3 Mon Sep 17 00:00:00 2001 From: gabengar Date: Wed, 28 Aug 2024 21:15:27 +0500 Subject: [PATCH] fix: cache action --- .github/workflows/pages.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 862d1089..65f50b12 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -55,6 +55,7 @@ jobs: - name: Restore cache uses: actions/cache@v4 with: + path: src # Generate a new cache whenever packages or source files change. key: ${{ runner.os }}-pages-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} # If source files changed but packages didn't, rebuild from a prior cache.