Files
rrttm/.github/workflows/build.yml
markojozsef 38270eabba
Some checks failed
Build Windows EXE / build (push) Has been cancelled
Pyinstaller :<
2026-10-19 18:31:06 +02:00

31 lines
664 B
YAML

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