This repository was archived by the owner on Dec 27, 2025. It is now read-only.
Build Zotify #4
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 Zotify | |
| on: workflow_dispatch | |
| jobs: | |
| build-catbot: | |
| name: Build Zotify | |
| runs-on: windows-latest | |
| steps: | |
| - name: Setup Python environment | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| - name: Clone Zotify repository | |
| run: git clone --single-branch --branch v1.0-dev https://github.com/zotify-dev/zotify.git | |
| - name: Install PyInstaller | |
| run: pip install -U pyinstaller | |
| - name: Install required libraries | |
| run: pip install -r zotify/requirements.txt && pip install git+https://github.com/kokarare1212/librespot-python | |
| - name: Run PyInstaller | |
| run: pyinstaller --onefile -F zotify\zotify\__main__.py | |
| - name: Rename Zotify executable | |
| run: Rename-Item –Path dist\__main__.exe -NewName Zotify.exe | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Zotify | |
| path: dist/Zotify.exe |