Skip to content

Publish to PyPI

Publish to PyPI #22

Workflow file for this run

# Publish a release to PyPI.
name: "Publish to PyPI"
on:
release:
types: [published]
jobs:
call-ci:
uses: ./.github/workflows/ci.yml
secrets: inherit
publish:
runs-on: ubuntu-latest
needs: call-ci
permissions:
id-token: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: dist/
merge-multiple: true
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1