Skip to content

v3.1.0

v3.1.0 #22

Workflow file for this run

name: PyPi Publish
on:
release:
types:
- published
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"
- name: Install Dependencies
run: |
poetry install -E pydantic
- name: Add pypi token to Poetry
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_KEY }}
- name: Publish package
run: poetry publish --build