Skip to content

Publish to https://pypi.org/ #2

Publish to https://pypi.org/

Publish to https://pypi.org/ #2

Workflow file for this run

name: Publish to https://pypi.org/
on:
release:
types: [created]
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install wheel and build
run: pip install wheel build
- name: Build a binary wheel and a source tarball
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1