-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 1.02 KB
/
build-unsigned.yml
File metadata and controls
36 lines (28 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build Unsigned Windows Installer
on:
workflow_dispatch: # Allows you to trigger this manually with a button click
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Executable with PyInstaller
run: |
pyinstaller --noconfirm --onefile --windowed --name "RokuBridge" --icon "icon.ico" --add-data "templates;templates" --add-data "static;static" app.py
- name: Compile Inno Setup Installer
run: |
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" setup.iss
- name: Upload Installer as Artifact
uses: actions/upload-artifact@v4
with:
name: RokuBridge-Unsigned-Installer
path: Output/*.exe