Skip to content

Merge pull request #6 from Tynab/main #24

Merge pull request #6 from Tynab/main

Merge pull request #6 from Tynab/main #24

Workflow file for this run

name: Build Pool Game with Pygbag
on:
push:
branches:
- ci
workflow_dispatch:
jobs:
build-pygbag:
name: Pool Game
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
run: |
echo "Attempting to install pygbag"
python -m pip install pygbag
echo "Successfully installed pygbag"
echo "Attempting to build the game"
python -m pygbag --build $GITHUB_WORKSPACE/main.py
echo "Successfully build the game and complied to WebAssembly"
- name : "Upload to GitHub pages branch deployment"
uses: JamesIves/[email protected]
with:
branch: deployment
folder: build/web
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "requirements.txt"