Skip to content

publish

publish #54

Workflow file for this run

name: publish
on:
workflow_run:
workflows: ["build"]
types:
- completed
jobs:
publish-to-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Build Package
run: |
python -m pip install poetry
poetry build
- name: Publish to PyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_API_TOKEN }}