Skip to content

Fix pre-commit hooks #10

Fix pre-commit hooks

Fix pre-commit hooks #10

Workflow file for this run

name: Publish Python 🐍 distributions 📦 to PyPI
on:
push:
tags:
- '*'
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Publish to Pypi
run: |
pip install '.[build]'
python -m build
twine upload dist/* -u "__token__" -p ${{ secrets.PYPI_API_TOKEN }}