Updated CI
This commit is contained in:
@@ -27,17 +27,32 @@ jobs:
|
||||
command: |
|
||||
choco install python visualstudio2022-workload-vctools -y
|
||||
python -m pip install --upgrade pip setuptools wheel
|
||||
|
||||
# look for existing cache and restore if found
|
||||
- restore_cache:
|
||||
key: bsp-win-deps-{{ checksum "package-lock.json" }}
|
||||
# install dependencies
|
||||
- run:
|
||||
name: install dependencies
|
||||
command: npm install
|
||||
- run:
|
||||
name: Install NPM Packages
|
||||
command: npm install
|
||||
|
||||
- save_cache:
|
||||
key: bsp-win-deps-{{ checksum "package-lock.json" }}
|
||||
paths:
|
||||
- node_modules
|
||||
- run:
|
||||
name: Build Electron App for Windows
|
||||
environment:
|
||||
AZURE_TENANT_ID: << parameters.tenantID >>
|
||||
AZURE_CLIENT_ID: << parameters.clientID >>
|
||||
AZURE_CLIENT_SECRET: << parameters.clientSecret >>
|
||||
command: npm run build:win
|
||||
command: |
|
||||
$env:AZURE_TENANT_ID = << parameters.tenantID >>
|
||||
$env:AZURE_CLIENT_ID = << parameters.clientID >>
|
||||
$env:AZURE_CLIENT_SECRET = << parameters.clientSecret >>
|
||||
npm run build:win
|
||||
# - store_artifacts:
|
||||
# path: .\dist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user