From 5595f58c87a85438895a92eb9a556de526a067e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 11 Apr 2025 14:16:47 +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=E4=BD=BF=E7=94=A8=20GitHub?= =?UTF-8?q?=20=E4=BB=93=E5=BA=93=20ID=20=E4=BB=A3=E6=9B=BF=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=E7=AE=A1=E7=90=86=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-node-environment/action.yml b/setup-node-environment/action.yml index 1683dc7..2608f7e 100644 --- a/setup-node-environment/action.yml +++ b/setup-node-environment/action.yml @@ -180,9 +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-${{ github.workspace }}-${{ hashFiles('**/pnpm-lock.yaml') }} + key: ${{ runner.os }}-pnpm-store-${{ github.repository_id }}-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | - ${{ runner.os }}-pnpm-store-${{ github.workspace }}- + ${{ runner.os }}-pnpm-store-${{ github.repository_id }}- ${{ runner.os }}-pnpm-store- # https://github.com/pnpm/pnpm/issues/7192#issuecomment-2353298966