diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index cabe99e..d3d25be 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -73,5 +73,7 @@ jobs: EOF maturin build --release --strip -i "$(which python)" if [[ "$GITHUB_REF" == refs/tags/v* ]]; then - python -m twine upload target/wheels/* + twine upload target/wheels/* + else + twine upload --repository testpypi target/wheels/* fi