From c5a4d4320ddfac86b8853364cc7af9ef4d7e05e8 Mon Sep 17 00:00:00 2001 From: Fehr Mathieu Date: Mon, 13 Jan 2025 17:12:24 +0000 Subject: [PATCH] CI: Create missing virtual enviroment in the publish job (#3748) The virtual environment was missing from the CI --------- Co-authored-by: Sasha Lopoukhine --- .github/workflows/pythonpublish.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index ab2e2f5b6b..f61aa3fba5 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -16,11 +16,7 @@ jobs: - name: Set up Python run: uv python install 3.11 - - name: Install dependencies - run: | - uv pip install setuptools wheel - - name: Build and publish run: | - uv run setup.py sdist bdist_wheel - uv tool run twine upload -u __token__ -p ${{ secrets.PYPI_XDSL_TOKEN }} dist/* + uvx --with setuptools --with wheel setup.py sdist bdist_wheel + uvx twine upload -u __token__ -p ${{ secrets.PYPI_XDSL_TOKEN }} dist/*