Skip to content

Bump actions/download-artifact from 6 to 7 #513

Bump actions/download-artifact from 6 to 7

Bump actions/download-artifact from 6 to 7 #513

Workflow file for this run

name: build
on:
push:
pull_request:
types: [ opened, reopened, synchronize ]
jobs:
docs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ${{ fromJson(vars.PYTHON_VERSIONS) }}
name: docs on ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up CPython ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
pip install -e .[docs]
- name: Build docs
shell: bash
run: |
cd docs
sphinx-build -b html -j auto -a -n -T -W --keep-going . _build/html
dist:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ${{ fromJson(vars.PYTHON_VERSIONS) }}
name: dist on ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up CPython ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
pip install -e .[docs,tests]
- name: Build distributions
run: |
python -m pip install build
python -m build