Install twine for PyPI publishing
Some checks failed
CI + Deploy / lint (push) Successful in 7s
CI + Deploy / test (push) Successful in 11s
CI + Deploy / deploy_to_pypi (push) Failing after 5s
CI + Deploy / deploy_to_dockerhub (push) Has been skipped
CI + Deploy / deploy_to_gitea (push) Has been skipped

- Add twine installation to the build environment.
- This ensures twine is available for PyPI publishing.
- Move twine installation to after venv creation.
This commit is contained in:
Roger Gonzalez 2025-05-17 14:30:00 -03:00
parent 1aada98b92
commit 007c417064
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

View File

@ -55,7 +55,6 @@ jobs:
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITEA_PATH
uv pip install --system build twine
- name: Publish to PyPI
env:
@ -63,6 +62,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
uv venv .venv
uv pip install --system build twine
source .venv/bin/activate
uv run python -m build
uv run python -m twine upload dist/*