Update CI script for windows

This commit is contained in:
Mati Dastugue 2020-04-24 18:33:49 -03:00 committed by GitHub
parent 4d257bccdf
commit c783397f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 7 deletions

View File

@ -29,17 +29,12 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 10.16
- run: yarn install --network-concurrency 1
- name: Patch node gyp on windows to support Visual Studio 2019
if: startsWith(matrix.os, 'windows')
shell: powershell
run: |
yarn global add --production windows-build-tools --vs2015 --msvs_version=2015
- name: Install node-gyp
if: startsWith(matrix.os, 'windows')
shell: powershell
@ -47,6 +42,12 @@ jobs:
yarn global add node-gyp
yarn config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 10.16
- run: yarn install --network-concurrency 1
- name: Build/Release Desktop App
env:
# macOS notarization API key