Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull latest py-shiny submodule | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- barret_test | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip | |
- name: Check out submodules | |
run: | | |
make submodules | |
- name: Pull latest py-shiny | |
run: | | |
make submodules-pull | |
- name: Build shinylive | |
run: | | |
make all | |
- name: Set up git within GHA | |
uses: actions4git/setup-git@v1 | |
- name: Commit and push changes | |
run: | | |
PY_SHINY_SHA=$(git -C packages/py-shiny rev-parse --short HEAD) | |
git add packages/py-shiny shinylive_lock.json && \ | |
git commit --message "Pull latest posit-dev/py-shiny@$PY_SHINY_SHA" && \ | |
git push origin HEAD:barret_test |