Skip to content

Release

Release #21

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
build-n-publish:
name: Build and publish Python 🐍distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Install tox
run: >-
python -m
pip install
tox
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m tox -e build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}