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 : Generate release (Windows)
2+
3+ on :
4+ pull_request :
5+ push :
6+ tags :
7+ - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
8+
9+ jobs :
10+ generate-release :
11+
12+ runs-on : windows-latest
13+
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ python-version : ["3.13"]
18+
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : Set up Python ${{ matrix.python-version }}
22+ uses : actions/setup-python@v5
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+
26+ - name : Install dependencies
27+ run : |
28+ python -m pip install --upgrade pip
29+ python -m pip install -r requirements.txt
30+
31+ - name : Run PyInstaller to create binaries
32+ run : |
33+ pyinstaller.exe --noconfirm turing-system-monitor.spec
34+
35+ - name : Create InnoSetup installer from generated binaries
36+ uses : Minionguyjpro/Inno-Setup-Action@v1.2.2
37+ with :
38+ path : tools/windows-installer/turing-system-monitor.iss
39+ options : /O+
40+
41+ - name : Archive a screenshot
42+ uses : actions/upload-artifact@v4
43+ with :
44+ path : tools/windows-installer/Output/turing-system-monitor_*.exe
You can’t perform that action at this time.
0 commit comments