Skip to content

v0.19.0

v0.19.0 #23

Workflow file for this run

name: Publish to PyPI
on:
release:
types:
- created
jobs:
publish:
name: Publish a release to PyPI
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 1
- name: Set target python version
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: "3.11"
- name: Install poetry
run: python -m pip install poetry
- name: Build and publish
env:
POETRY_HTTP_BASIC_PYPI_USERNAME: __token__
POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: poetry publish --build