autorelease 0.7.1 #19
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
| # Vendored from Autorelease 0.6.2 | |
| # Update by updating Autorelease and running `autorelease vendor actions` | |
| name: "Autorelease Deploy" | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| deploy_pypi: | |
| if: ${{ github.repository == 'dwhswenson/autorelease' }} | |
| runs-on: ubuntu-latest | |
| name: "Deploy to PyPI" | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - run: | | |
| python -m pip install twine wheel build | |
| name: "Install release tools" | |
| - run: | | |
| python -m build --sdist --wheel | |
| twine check dist/* | |
| name: "Build and check package" | |
| - uses: pypa/gh-action-pypi-publish@release/v1 | |
| name: "Deploy to pypi" | |