去除依赖缓存

This commit is contained in:
ACT丶流星雨 2026-04-05 12:19:51 +08:00
parent 219d7d15e1
commit 420e5ab0d2

View File

@ -37,15 +37,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: 缓存依赖
uses: actions/cache@v4
id: cache
with:
path: node_modules
key: windows-${{ matrix.arch }}-modules-${{ hashFiles('yarn.lock') }}
- name: 安装依赖
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
env:
npm_config_arch: ${{ matrix.arch }}
@ -87,15 +79,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: 缓存依赖
uses: actions/cache@v4
id: cache
with:
path: node_modules
key: macos-${{ matrix.arch }}-modules-${{ hashFiles('yarn.lock') }}
- name: 安装依赖
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
env:
npm_config_arch: ${{ matrix.arch }}
@ -134,7 +118,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: "yarn"
- name: 安装依赖
run: yarn install --frozen-lockfile