diff --git a/.gitea/workflows/build_and_test.yml b/.gitea/workflows/build_and_test.yml index c5888a5d..eb199e2c 100644 --- a/.gitea/workflows/build_and_test.yml +++ b/.gitea/workflows/build_and_test.yml @@ -71,7 +71,7 @@ jobs: TWINE_USERNAME: "__token__" # Username for Twine when using token-based auth TWINE_PASSWORD: ${{ secrets.PIP_REPOSITORY_API_TOKEN }} # Use the secret for authentication run: | - python -m venv .twine + python3 -m venv .twine source .twine/bin/activate pip3 install twine twine upload --repository-url https://gitea.psi.ch/api/packages/mx/pypi dist/*