Skip to content

1.0.2

1.0.2 #5

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out source-code repository
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel build
pip install .
- name: Build the distribution
run: |
python3 -m build --sdist
python3 -m build --wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}