From 4470aa136359d05ae3b086d37cfaa33305448a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 14 Apr 2025 13:58:34 +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=BA=8B=E4=BB=B6=E4=B8=AD=E7=9A=84=E4=BB=93=E5=BA=93=20ID?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=BC=BA=E7=BC=93=E5=AD=98=E7=AE=A1=E7=90=86?= =?UTF-8?q?=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 2608f7e..249740d 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.repository_id }}-${{ hashFiles('**/pnpm-lock.yaml') }} + key: ${{ runner.os }}-pnpm-store-id${{ github.event.repository.id }}-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | - ${{ runner.os }}-pnpm-store-${{ github.repository_id }}- + ${{ runner.os }}-pnpm-store-id${{ github.event.repository.id }}- ${{ runner.os }}-pnpm-store- # https://github.com/pnpm/pnpm/issues/7192#issuecomment-2353298966