From 45db6fc809b0ada190abac7231ce6eb29d0f0601 Mon Sep 17 00:00:00 2001 From: starknt <1431880400@qq.com> Date: Mon, 25 Nov 2024 16:41:16 +0800 Subject: [PATCH] restore cache --- .github/workflows/build-and-release.yml | 13 ------------- .github/workflows/npm-run-electron.yml | 13 ------------- .github/workflows/test-and-upload.yml | 13 ------------- 3 files changed, 39 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 43bfcc0..f2940df 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -73,19 +73,6 @@ jobs: echo "--------------------"; python --version; - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - name: Setup pnpm cache - uses: actions/cache@v4 - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - name: Setup electron cahce uses: actions/cache@v4 with: diff --git a/.github/workflows/npm-run-electron.yml b/.github/workflows/npm-run-electron.yml index d3c905b..f7b891e 100644 --- a/.github/workflows/npm-run-electron.yml +++ b/.github/workflows/npm-run-electron.yml @@ -72,19 +72,6 @@ jobs: echo "--------------------"; python --version; - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - name: Setup pnpm cache - uses: actions/cache@v4 - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - name: Setup electron cahce uses: actions/cache@v4 with: diff --git a/.github/workflows/test-and-upload.yml b/.github/workflows/test-and-upload.yml index 3c2f04a..3ddbd80 100644 --- a/.github/workflows/test-and-upload.yml +++ b/.github/workflows/test-and-upload.yml @@ -76,19 +76,6 @@ jobs: echo "--------------------"; python --version; - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - name: Setup pnpm cache - uses: actions/cache@v4 - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - name: Setup electron cahce uses: actions/cache@v4 with: