Skip to content
This repository was archived by the owner on Jul 8, 2026. It is now read-only.

refactor: improve file handling and application instance management #16

refactor: improve file handling and application instance management

refactor: improve file handling and application instance management #16

Workflow file for this run

name: Build & Package
on:
push:
branches: [ main ]
tags:
- 'v*.*.*'
permissions:
contents: write
jobs:
build-windows:
name: Build Windows (.exe)
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build Windows installer
run: npm run build:win
- name: Upload to GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || 'latest-build' }}
name: ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || 'Latest Build' }}
prerelease: ${{ !startsWith(github.ref, 'refs/tags/') }}
files: dist/*.exe
body: ${{ github.event.head_commit.message }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}