File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,16 @@ jobs:
30
30
deploy-type : tag
31
31
32
32
publish-to-pypi :
33
- if : ${{ github.event.inputs.dry-run == 'false' }}
33
+ if : ${{ github.event.inputs.dry-run == false }}
34
+ needs : commit-changelog-and-release
34
35
runs-on : ubuntu-latest
35
36
steps :
37
+ - uses : actions/checkout@v4
38
+ with :
39
+ ref : ${{ github.event.inputs.version-tag }}
36
40
- uses : deargen/workflows/actions/setup-python-and-uv@master
37
41
- name : Build and upload to PyPI
38
- if : ${{ github.event.inputs.dry-run == 'false' }}
39
42
run : |
40
- git tag -a ${{ github.event.inputs.version-tag }} -m "Release ${{ github.event.inputs.version-tag }}"
41
43
uv pip install build twine
42
44
python -m build . --sdist
43
45
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} --non-interactive
You can’t perform that action at this time.
0 commit comments