Skip to content

Build Launcher

Build Launcher #2

name: Build Launcher
on:
workflow_dispatch:
env:
python_version: '3.12'
jobs:
build:
runs-on: 'macos-14'
steps:
- name: Check out repository
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.python_version }}
- name: Install PyInstaller
run: |
pip install -U pyinstaller
pip install -r ./src/launcher/requirements.txt
- name: Build launcher
run: |
pyinstaller --specpath ./build --onefile --noconfirm ./src/launcher/directories.py
- name: Create zip
run: |
zip -j dist/directories.zip dist/directories
- name: Upload Binary
uses: actions/upload-artifact@v4
with:
name: directories
path: dist/directories.zip