We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8116bc commit aefbba5Copy full SHA for aefbba5
.github/workflows/deploy.yml
@@ -31,13 +31,15 @@ jobs:
31
32
publish-to-pypi:
33
if: ${{ github.event.inputs.dry-run == 'false' }}
34
+ needs: commit-changelog-and-release
35
runs-on: ubuntu-latest
36
steps:
37
+ - uses: actions/checkout@v4
38
+ with:
39
+ ref: ${{ github.event.inputs.version-tag }}
40
- uses: deargen/workflows/actions/setup-python-and-uv@master
41
- name: Build and upload to PyPI
- if: ${{ github.event.inputs.dry-run == 'false' }}
42
run: |
- git tag -a ${{ github.event.inputs.version-tag }} -m "Release ${{ github.event.inputs.version-tag }}"
43
uv pip install build twine
44
python -m build . --sdist
45
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} --non-interactive
0 commit comments