This commit is contained in:
rattatwinko
2025-05-28 15:19:07 +02:00
parent f236b81d29
commit bb28221733

View File

@@ -0,0 +1,31 @@
name: Build Pommer Executable
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Build executable with PyInstaller
run: |
pyinstaller --onefile pommer/pommer.py --name pommer
- name: Upload executable artifact
uses: actions/upload-artifact@v3
with:
name: pommer-linux
path: dist/pommer