Skip to content

publish

publish #53

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/gh-action-pypi-publish@v1.8.10
with:
password: ${{ secrets.PYPI_API_TOKEN }}