diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index db37a889dd..52a0a75da2 100644 --- a/.github/workflows/electron-build.yml +++ b/.github/workflows/electron-build.yml @@ -50,10 +50,11 @@ jobs: mkdir -p ~/private_keys/ echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8 - - name: Run Script in Git Bash + - name: Run pack:win if: startsWith(matrix.os, 'desktop-build') run: | - "C:\Program Files\Git\bin\bash.exe" -c "yarn -i && yarn pack:win" + nvm use v18.16.1 + yarn -i && yarn pack:win shell: powershell - name: Build/release Electron app