Skip to content

untrack accidentially tracked __pycache__ dir #8

untrack accidentially tracked __pycache__ dir

untrack accidentially tracked __pycache__ dir #8

name: Build Windows EXE
on:
push:
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.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt pyinstaller
- name: Build PyInstaller bundle
shell: pwsh
run: |
pyinstaller --noconfirm --clean `
--name AutomaticImageCulling `
--add-data "src/assets;src/assets" `
--collect-all rawpy --collect-all mediapipe --collect-all insightface --collect-all onnxruntime `
--paths . `
gui_entry.py
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: AutomaticImageCulling-windows
path: dist/AutomaticImageCulling/**
if-no-files-found: error