Skip to content

Enable manual and branch workflow triggers #1

Enable manual and branch workflow triggers

Enable manual and branch workflow triggers #1

Workflow file for this run

name: Build & Release
on:
workflow_dispatch:
push:
branches:
- main
tags:
- 'v*'
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Build & Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm run build
npx electron-builder --config.publish.provider=github --publish always