From f0c59be5c86d3422274c935b7097794b38929866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 11 Apr 2025 10:12:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BC=93=E5=AD=98=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=E9=94=AE=EF=BC=8C=E4=BB=A5=E5=8C=85=E5=90=AB=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8C=BA=E8=B7=AF=E5=BE=84=EF=BC=8C=E5=A2=9E=E5=BC=BA?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E5=91=BD=E4=B8=AD=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup-node-environment/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup-node-environment/action.yml b/setup-node-environment/action.yml index d5b606d..1683dc7 100644 --- a/setup-node-environment/action.yml +++ b/setup-node-environment/action.yml @@ -180,8 +180,9 @@ runs: uses: actions/cache/restore@v4 # https://github.com/actions/cache/blob/main/restore/action.yml with: path: ${{ steps.pnpm-store-dir.outputs.pnpmStoreDir }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + key: ${{ runner.os }}-pnpm-store-${{ github.workspace }}-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | + ${{ runner.os }}-pnpm-store-${{ github.workspace }}- ${{ runner.os }}-pnpm-store- # https://github.com/pnpm/pnpm/issues/7192#issuecomment-2353298966