diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 4d17eae..dac2275 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -97,6 +97,8 @@ jobs: - name: 安装依赖 if: steps.cache.outputs.cache-hit != 'true' run: yarn install --frozen-lockfile + env: + npm_config_arch: ${{ matrix.arch }} - name: 打包 macOS 安装程序 run: yarn dist:mac --${{ matrix.arch }} @@ -136,6 +138,8 @@ jobs: - name: 安装依赖 run: yarn install --frozen-lockfile + env: + npm_config_arch: ${{ matrix.arch }} - name: 打包 Linux 安装程序 run: yarn dist:linux --${{ matrix.arch }}