File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Windows Installer
2
+ on : [push]
3
+ jobs :
4
+ build :
5
+ runs-on : windows-latest
6
+ steps :
7
+ - uses : actions/checkout@v3
8
+ - name : Set up Python
9
+ uses : actions/setup-python@v4
10
+ with :
11
+ python-version : ' 3.x'
12
+ - name : Install dependencies
13
+ run : |
14
+ python -m pip install --upgrade pip
15
+ pip install pyinstaller
16
+ pip install -r requirements.txt # If you have dependencies
17
+ - name : Build executable with PyInstaller
18
+ run : pyinstaller --onefile your_script.py
19
+ - name : Install Inno Setup
20
+ run : choco install innosetup # Using Chocolatey package manager
21
+ - name : Create installer
22
+ run : iscc installer_script.iss # Your Inno Setup script
23
+ - name : Upload installer
24
+ uses : actions/upload-artifact@v3
25
+ with :
26
+ name : windows-installer
27
+ path : dist/*.exe
You can’t perform that action at this time.
0 commit comments