Pyinstaller :<
Some checks failed
Build Windows EXE / build (push) Has been cancelled

This commit is contained in:
markojozsef
2026-10-19 18:31:06 +02:00
parent 10569e5886
commit 38270eabba
3 changed files with 77 additions and 34 deletions

30
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Build Windows EXE
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.14' # Match your local python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install arcade pygame pyinstaller
- name: Build with PyInstaller
run: |
pyinstaller --onefile --noconsole --add-data "res;res" src/main.py
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Windows-Game-EXE
path: dist/main.exe