Skip to content

Publish release to PyPI #8

Publish release to PyPI

Publish release to PyPI #8

Workflow file for this run

name: Publish release to PyPI
on:
workflow_dispatch:
inputs:
release-tag:
description: Release tag
required: true
type: string
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.release-tag }}
- name: Install Poetry
run: pipx install poetry
- name: Configure Poetry
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Publish to PyPI
run: poetry publish --build