Skip to content

Publish to PyPI.org

Publish to PyPI.org #3

Workflow file for this run

name: Publish to PyPI.org
on:
workflow_dispatch:
release:
types: [published]
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Setup poetry
run: poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package
run: poetry publish --build