Attempt to force node-gyp to stop using git@...

This commit is contained in:
David Benson 2025-05-09 18:31:55 +01:00
parent 387cc9cd22
commit 030de7dda3
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ jobs:
- name: Prepare for Windows Build
shell: powershell #The default shell for Windows
run: |
git config --global url."https://github.com/".insteadOf "git@github.com:"
npm install -g yarn
yarn install
- name: Build for Windows (x32 & arm64)

View File

@ -62,6 +62,7 @@ jobs:
if [ "$OS_NAME" = "ubuntu-latest" ]; then sudo apt-get update && sudo apt-get install -y icnsutils graphicsmagick xz-utils rpm; fi
curl -o- -L https://yarnpkg.com/install.sh | bash
export PATH="$HOME/.yarn/bin:$PATH"
git config --global url."https://github.com/".insteadOf "git@github.com:"
sudo npm install -g yarn
yarn install
if [ "$OS_NAME" = "ubuntu-latest" ]; then sed -ie 's/"asar": true,/"asar": true,\n"productName": "drawio",/' electron-builder-linux-mac.json; fi