Update CI script for windows
This commit is contained in:
parent
4d257bccdf
commit
c783397f8f
|
@ -29,17 +29,12 @@ jobs:
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v2
|
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
|
- name: Patch node gyp on windows to support Visual Studio 2019
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
yarn global add --production windows-build-tools --vs2015 --msvs_version=2015
|
yarn global add --production windows-build-tools --vs2015 --msvs_version=2015
|
||||||
|
|
||||||
- name: Install node-gyp
|
- name: Install node-gyp
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
@ -47,6 +42,12 @@ jobs:
|
||||||
yarn global add node-gyp
|
yarn global add node-gyp
|
||||||
yarn config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"
|
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
|
- name: Build/Release Desktop App
|
||||||
env:
|
env:
|
||||||
# macOS notarization API key
|
# macOS notarization API key
|
||||||
|
|
Loading…
Reference in New Issue