fix: fix windows bundle random failure and optimise canary build (#7105)

This commit is contained in:
Lifei Zhou
2026-02-10 16:23:45 +11:00
committed by GitHub
parent 49ad115fb1
commit 8cd50972eb
7 changed files with 8 additions and 135 deletions
+7 -1
View File
@@ -41,7 +41,6 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
ref: ${{ inputs.ref != '' && inputs.ref || '' }}
fetch-depth: 0
- name: Configure AWS credentials
if: inputs.signing && inputs.signing == true
@@ -123,6 +122,13 @@ jobs:
echo "Windows-specific files copied successfully"
fi
- name: Force GitHub HTTPS for npm git dependencies
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
git config --global url."https://github.com/".insteadOf "git@github.com:"
git config --global url."https://github.com/".insteadOf "git+ssh://git@github.com/"
- name: Build desktop UI with npm
shell: bash
env: