Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Update main.yml

Update main.yml #8

Workflow file for this run

name: "Build pyinstaller executable"
on:
push:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['windows-latest', 'ubuntu-latest', 'macos-13']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: pip install -r Requirements.txt pyinstaller
- run: pyinstaller game.py
# Optionally verify that it works (provided that it does not need user interaction)
- uses: actions/upload-artifact@v2
with:
path: dist/[runner.os]/*