File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ jobs:
241241 /opt/python/cp311-cp311/bin/pip install "cmake<4"
242242 rm /usr/local/bin/cmake || true
243243 ln -s /opt/python/cp311-cp311/bin/cmake /usr/local/bin/cmake
244- /opt/python/cp311-cp311/bin/pip install -U wheel setuptools numpy
244+ /opt/python/cp311-cp311/bin/pip install -U wheel setuptools numpy twine
245245 USE_MIMALLOC=1 Py_LIMITED_API=1 /opt/python/cp311-cp311/bin/python setup.py build bdist_wheel
246246 auditwheel repair dist/*.whl
247247 for cp in cp314-cp314t
@@ -250,12 +250,4 @@ jobs:
250250 USE_MIMALLOC=1 /opt/python/${cp}/bin/python setup.py build bdist_wheel
251251 auditwheel repair dist/*-${cp}-*.whl
252252 done
253- mv wheelhouse/*.whl /artifacts/
254- - name : Upload wheels
255- env :
256- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
257- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
258- run : |
259- python3 -m pip install -U pip setuptools
260- python3 -m pip install twine wheel
261- python3 -m twine upload artifacts/*.whl
253+ /opt/python/cp311-cp311/bin/twine upload --repository pypi wheelhouse/*.whl
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ jobs:
238238 /opt/python/cp311-cp311/bin/pip install "cmake<4"
239239 rm /usr/local/bin/cmake || true
240240 ln -s /opt/python/cp311-cp311/bin/cmake /usr/local/bin/cmake
241- /opt/python/cp311-cp311/bin/pip install -U wheel setuptools numpy
241+ /opt/python/cp311-cp311/bin/pip install -U wheel setuptools numpy twine
242242 USE_MIMALLOC=1 Py_LIMITED_API=1 /opt/python/cp311-cp311/bin/python setup.py build bdist_wheel
243243 auditwheel repair dist/*.whl
244244 for cp in cp314-cp314t
@@ -247,12 +247,4 @@ jobs:
247247 USE_MIMALLOC=1 /opt/python/${cp}/bin/python setup.py build bdist_wheel
248248 auditwheel repair dist/*-${cp}-*.whl
249249 done
250- mv wheelhouse/*.whl /artifacts/
251- - name : Upload wheels
252- env :
253- TWINE_USERNAME : ${{ secrets.TEST_PYPI_USERNAME }}
254- TWINE_PASSWORD : ${{ secrets.TEST_PYPI_PASSWORD }}
255- run : |
256- python3 -m pip install -U pip setuptools
257- python3 -m pip install twine wheel
258- python3 -m twine upload --repository testpypi artifacts/*.whl
250+ /opt/python/cp311-cp311/bin/twine upload --repository testpypi wheelhouse/*.whl
You can’t perform that action at this time.
0 commit comments