Skip to content

v2.10.0

v2.10.0 #6

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
jobs:
publish:
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Python setup
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install build, wheel and twine
run: pip install build wheel twine
- name: Build source tarball and binary
run: python -m build --sdist --wheel --outdir dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}