Skip to content

Release PyPI

Release PyPI #12

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
version:
description: set release version
required: true
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python - -y
- name: Publish
run: |
poetry version ${{ github.event.inputs.version }}
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry build && poetry publish