Skip to content

garrettmflynn is building a Windows release #14

garrettmflynn is building a Windows release

garrettmflynn is building a Windows release #14

name: Build and Deploy β€” Windows
run-name: ${{ github.actor }} is building a Windows release
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
deploy-on-windows:
runs-on: windows-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Build and deploy on Windows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run build -- --desktop --publish