Skip to content

Merge pull request #3 from Tynab/main #21

Merge pull request #3 from Tynab/main

Merge pull request #3 from Tynab/main #21

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 pymunk"
python -m pip install pymunk
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