Build Python for specific version

This commit is contained in:
Wilson Lin 2020-07-12 01:46:53 +10:00
parent cbf6a81c81
commit aad5111d6d
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ jobs:
username = __token__
password = ${{ secrets.PYPI_API_TOKEN }}
EOF
maturin build --release --strip
maturin build --release --strip -i "$(which python)"
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
python -m twine upload target/wheels/*
fi