0.6 #11
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish to PyPI | |
| on: | |
| release: | |
| types: | |
| - published | |
| # push: | |
| # tags: | |
| # - "[0-9]+.[0-9]+*" | |
| workflow_dispatch: {} | |
| jobs: | |
| publish: | |
| name: Build and publish | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| id-token: write # for trusted publishing | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| - run: pip install --upgrade pip build | |
| - run: python -m build # includes sdist & wheel by default | |
| - uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| skip_existing: true |