Skip to content

Commit 030de7d

Browse files
committed
Attempt to force node-gyp to stop using git@...
1 parent 387cc9c commit 030de7d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/electron-builder-win.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
- name: Prepare for Windows Build
4848
shell: powershell #The default shell for Windows
4949
run: |
50+
git config --global url."https://github.com/".insteadOf "[email protected]:"
5051
npm install -g yarn
5152
yarn install
5253
- name: Build for Windows (x32 & arm64)

.github/workflows/electron-builder.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
if [ "$OS_NAME" = "ubuntu-latest" ]; then sudo apt-get update && sudo apt-get install -y icnsutils graphicsmagick xz-utils rpm; fi
6363
curl -o- -L https://yarnpkg.com/install.sh | bash
6464
export PATH="$HOME/.yarn/bin:$PATH"
65+
git config --global url."https://github.com/".insteadOf "[email protected]:"
6566
sudo npm install -g yarn
6667
yarn install
6768
if [ "$OS_NAME" = "ubuntu-latest" ]; then sed -ie 's/"asar": true,/"asar": true,\n"productName": "drawio",/' electron-builder-linux-mac.json; fi

0 commit comments

Comments
 (0)