Skip to content

Update pyproject.toml #8

Update pyproject.toml

Update pyproject.toml #8

Workflow file for this run

# .github/workflows/release-pypi.yml
name: Publish to PyPI on tag
on:
push:
tags:
- "v*.*.*"
permissions:
contents: read
id-token: write
jobs:
build-publish-pypi:
runs-on: ubuntu-latest
environment: pypi
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: python -m pip install --upgrade build
- run: python -m build
- name: Publish to PyPI (Trusted Publishing)
uses: pypa/gh-action-pypi-publish@release/v1
# no 'password:' when using Trusted Publishing