Skip to content

Bump actions/setup-python from 5 to 6 #12

Bump actions/setup-python from 5 to 6

Bump actions/setup-python from 5 to 6 #12

Workflow file for this run

name: Build documentation
on:
pull_request:
branches: [main]
workflow_call:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
env:
PUBLISH_DIR: ./docs/_build/html
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: python3 -m pip install .
- name: Build docs
run: cd docs && jupyter book build --html --check-links
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: ${{ env.PUBLISH_DIR }}