pygbag icon indicating copy to clipboard operation
pygbag copied to clipboard

generate .github/workflows/pygbag.yml

Open pmp-p opened this issue 2 years ago • 0 comments

automatically, with maybe --githubci and add "/build/web" and "/build/web-cache" to .gitignore

name: pygbag_build
on: [workflow_dispatch]

jobs:  
  build-pygbag:
    name: Build for Emscripten pygbag runtime
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Checkout
      run: |
            python3 -m pip install pygbag
            python3 -m pygbag --build $GITHUB_WORKSPACE/main.py
    - name : "Upload to GitHub pages"
      uses: JamesIves/[email protected]
      with:
        branch: gh-pages
        folder: build/web

pmp-p avatar Jan 03 '23 19:01 pmp-p