Skip to content

fix: upgrade visualstudio after install #104

fix: upgrade visualstudio after install

fix: upgrade visualstudio after install #104

Workflow file for this run

name: build-windows
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
# - run: choco upgrade nodejs.install
# - run: choco install nodejs --version 20.0.0
- run: choco install python visualstudio2017-workload-vctools -y
- run: choco upgrade -y visualstudio2017-workload-vctools
- run: npm install
- run: npm run prebuild
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: upload binaries
uses: actions/github-script@v6
with:
script: |
const zip = require('cross-zip')
const script = require('./scripts/upload-binaries.js');
await script({
github,
context,
core,
zip
});