File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,20 @@ jobs:
4545 uv pip install twine
4646 uv run twine check dist/*
4747 echo "Dry run completed. Package would be published in a release."
48- - name : Publish to PyPI
49- if : ${{github.event_name == 'release'}}
48+ # - name: Publish to PyPI
49+ # if: ${{github.event_name == 'release'}}
50+ # shell: bash
51+ # env:
52+ # UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
53+ # run: |
54+ # set -eux
55+ # uv publish
56+ - name : Publish to TestPyPI
57+ if : ${{github.event_name == 'workflow_dispatch'}}
5058 shell : bash
5159 env :
52- UV_PUBLISH_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
60+ UV_PUBLISH_TOKEN : ${{ secrets.TEST_PYPI_API_TOKEN }}
61+ UV_PUBLISH_URL : https://test.pypi.org/legacy/
5362 run : |
5463 set -eux
55- uv publish
64+ uv publish --publish-url https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments