Skip to content

Build and Release to PyPI #1

Build and Release to PyPI

Build and Release to PyPI #1

Workflow file for this run

name: Build and Release to PyPI
on:
create:
tags:
- '*'
workflow_dispatch:
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
permissions:
# This permission is needed for private repositories.
contents: read
# IMPORTANT: This permission is mandatory for trusted publishing.
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- name: Publish package distributions to PyPI
run: pdm publish