Skip to content

Publish

Publish #8

Workflow file for this run

name: Publish
on:
workflow_run:
workflows: ["Test"]
branches: [main]
types:
- completed
jobs:
publish:
name: Build & publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install poetry
run: pipx install poetry
- name: Install dependencies
run: poetry install
- name: Build and publish to PyPI
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}