Skip to content

Updates and deprecated code removal #8

Updates and deprecated code removal

Updates and deprecated code removal #8

Workflow file for this run

name: Publish to PyPI
on:
release:
types:
- created
jobs:
build-n-publish:
name: Build and publish Python distribution to PyPI
runs-on: ubuntu-latest
steps:
- name: Check out git repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Build and publish to PYPI
run: |
poetry publish --build
env:
GITHUB: 1
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}