Skip to content

Use development version of pint #23

Use development version of pint

Use development version of pint #23

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/html
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python3 -m pip install git+https://github.com/hgrecco/pint.git
python3 -m pip install ".[docs]"
- name: Build docs
run: jupyter-book build -W --keep-going .
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ${{ env.PUBLISH_DIR }}