Skip to content

v0.8.8.3

v0.8.8.3 #68

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
jobs:
publish:
name: Build and publish
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write # required for trusted publishing
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install build tools
run: pip install build
- name: Run tests before publishing
run: |
pip install -e ".[dev]"
pytest tests/ -q --tb=short
- name: Build distribution
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1