Skip to content

Bump actions/setup-python from 6 to 7 #135

Bump actions/setup-python from 6 to 7

Bump actions/setup-python from 6 to 7 #135

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: ./build
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Python
uses: actions/setup-python@v7
with:
python-version: "3.10"
- name: Install dependencies
run: python3 -m pip install ".[docs]"
- name: Build docs
run: python3 -m sphinx -b html . build
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: ${{ env.PUBLISH_DIR }}