Merge pull request #153 from vdice/chore/release-4.0.0-rc1 #1
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: Release | |
| on: | |
| push: | |
| tags: v* | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| environment: pypi | |
| # Using OIDC/Trusted Publisher: https://docs.pypi.org/trusted-publishers/using-a-publisher/ | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build distribution | |
| run: | | |
| python -m venv venv | |
| source venv/bin/activate | |
| pip install --upgrade build | |
| python -m build | |
| - name: Publish distribution to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1.14 |