Skip to content

Update pyinstaller.yml #14

Update pyinstaller.yml

Update pyinstaller.yml #14

Workflow file for this run

name: PyInstaller Action
on:
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Install PyGObject (required for gi module)
sudo apt-get update
sudo apt-get install -y libgirepository1.0-dev python3-gi
- name: Run PyInstaller
uses: Martin005/[email protected]
with:
spec: baldilevelsaver.py
requirements: requirements.txt
options: '--windowed --onefile --clean'
python_ver: '3.10'
python_arch: x64
exe_path: ./dist
upload_exe_with_name: baldilevelsaver