From a0aa72d959cc44a8ad8de780ed311f68575c67da Mon Sep 17 00:00:00 2001 From: yangmingming Date: Tue, 22 Oct 2024 01:51:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-windows.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index c8f3436..e5bd6be 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -32,9 +32,10 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'pnpm' + - name: init ssh key + run: ssh-keyscan -t rsa github.com > %USERPROFILE%/.ssh/known_hosts # 先执行electron的构建, 节约调试时间 - name: Install dependencies - run: ssh-keyscan -t rsa github.com > %USERPROFILE%/.ssh/known_hosts run: pnpm install # sharp需要单独安装 # - run: npm install --platform=win32 --arch=x64 sharp