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.11' # 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