Skip to content

Workflow file for this run

name: Publish to PyPI (via Trusted Publisher, poetry)
on:
release:
types: [published]
jobs:
release:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
env:
POETRY_VIRTUALENVS_CREATE: "false"
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: |
pipx install poetry
- name: Build with poetry
run: |
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1