Skip to content

Workflow file for this run

---
name: Publish library to pypi
on:
workflow_dispatch:
release:
types:
- published
jobs:
deploy:
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pip install poetry
- name: Build dist
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1