Skip to content

Build Windows GUI

Build Windows GUI #4

Workflow file for this run

name: Build Windows GUI
on:
workflow_dispatch:
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: Build GUI
run: |
pyinstaller --onefile --windowed --name "Win-File-Cleanup" --add-data "templates;templates" gui_launcher.py
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Win-File-Cleanup
path: dist/Win-File-Cleanup.exe