Skip to content

Include python 3.12 into CI (#47) #19

Include python 3.12 into CI (#47)

Include python 3.12 into CI (#47) #19

name: Publish Python 🐍 distributions 📦 to (Test)PyPI
on:
push:
tags:
- 'v*'
jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install tox
run: |
python -m pip install tox
- name: Build package distribution
run: |
tox -e build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}