File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Windows EXE
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ build :
9+ runs-on : windows-latest
10+
11+ steps :
12+ - name : Checkout Repo
13+ uses : actions/checkout@v4
14+
15+ - name : Setup Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.13"
19+
20+ - name : Install dependencies
21+ run : |
22+ pip install -r src/pc_app/requirements.txt
23+ pip install pyinstaller
24+
25+ - name : Run build script
26+ run : src/build_scripts/build.bat
27+
28+ - name : Zip build
29+ run : |
30+ powershell Compress-Archive src/dist/OsciFootswitch OsciFootswitch.zip
31+
32+ - name : Upload release asset
33+ uses : softprops/action-gh-release@v2
34+ with :
35+ files : OsciFootswitch.zip
Original file line number Diff line number Diff line change 11@ echo off
2+
3+ cd /d %~dp0 \..\pc_app
4+
25REM -------- Build OsciFootswitch --------
36REM 1. Version generieren
47python generate_version.py
You can’t perform that action at this time.
0 commit comments