Skip to content

v0.0.3

v0.0.3 #2

Workflow file for this run

---
# used for publishing packages to pypi on release
name: publish pypi release
on:
release:
types:
- published
jobs:
publish_pypi:
runs-on: ubuntu-latest
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
- name: poetry deps
run: poetry install
- name: poetry build distribution content
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1