From 007c4170641c79b97c9fc3be3b880cf87a301e78 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sat, 17 May 2025 14:30:00 -0300 Subject: [PATCH] Install twine for PyPI publishing - Add twine installation to the build environment. - This ensures twine is available for PyPI publishing. - Move twine installation to after venv creation. --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0cb360c..e334275 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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/*