Skip to content

v0.4.1

v0.4.1 #36

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
jobs:
tests:
uses: ./.github/workflows/build-test.yml
docs:
uses: ./.github/workflows/publish-docs.yml
deploy:
needs: [tests, docs]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install package
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}