Skip to content

Commit 9b07736

Browse files
committed
trying with pypi api key
1 parent 9a7148e commit 9b07736

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build_wheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
3232
- name: Upload wheels to PyPI
3333
env:
34-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
35-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
34+
TWINE_USERNAME: "__token__"
35+
TWINE_PASSWORD: ${{ secrets.PYPI_API_KEY }}
3636
run: |
37-
sudo docker run --rm -v $(pwd):/io quay.io/pypa/manylinux2014_x86_64 /bin/bash -c "
37+
sudo docker run --rm -v $(pwd):/io -e TWINE_USERNAME -e TWINE_PASSWORD quay.io/pypa/manylinux2014_x86_64 /bin/bash -c "
3838
/opt/python/cp311-cp311/bin/pip install twine --root-user-action=ignore &&
3939
/opt/python/cp311-cp311/bin/twine upload /io/wheelhouse/*.whl"
4040

0 commit comments

Comments
 (0)