Skip to content

Python Release

Python Release #2

Workflow file for this run

name: Python Release
on:
workflow_dispatch:
permissions:
contents: write
pull-requests: read
jobs:
release:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
- name: Publish package distributions to PyPI
run: pdm publish