Skip to content

Commit ef4d3fe

Browse files
committed
Build and release windows executable
1 parent 64faf8c commit ef4d3fe

File tree

4 files changed

+4620
-631
lines changed

4 files changed

+4620
-631
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build Windows Executable
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*" # Runs only when a version tag like v1.0.0 is pushed
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: windows-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 18
21+
22+
- name: Install dependencies
23+
run: npm install
24+
25+
- name: Build and Release
26+
run: npx electron-builder --win portable --publish=onTag
27+
env:
28+
GH_TOKEN: ${{ secrets.GH_PAT }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*~
22
node_modules
3+
/dist/

0 commit comments

Comments
 (0)