adjust config defaults #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |