Skip to content

publish

publish #31

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@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- 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 }}