Skip to content

Workflow file for this run

name: Upload Python package to PyPi
on:
release:
types: [created, edited]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Build
run: |
poetry build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1