Skip to content

Publish package to PyPI #2

Publish package to PyPI

Publish package to PyPI #2

Workflow file for this run

name: Publish package to PyPI
on:
workflow_dispatch:
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for OIDC publishing
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: deps
run: python -m pip install -U build
- name: build
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/[email protected]
with:
attestations: true