From 8c1c9aedaf84203cdb14367c61b0a797f1a44586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ge=CC=81ry=20Casiez?= <=> Date: Sat, 14 Dec 2024 19:34:12 +0100 Subject: [PATCH] fixing deploy pypi --- .github/workflows/pythonBinding.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pythonBinding.yml b/.github/workflows/pythonBinding.yml index fc20fe63..a38a39a4 100644 --- a/.github/workflows/pythonBinding.yml +++ b/.github/workflows/pythonBinding.yml @@ -86,17 +86,10 @@ jobs: - name: Publish Python 🐍 distribution 📦 to PyPI # if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes + env: + TWINE_USERNAME: "__token__" + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run : | - cat < ~/.pypirc - [distutils] - index-servers = - libpointing - - [libpointing] - repository = https://upload.pypi.org/legacy/ - username = __token__ - password = $PYPI_TOKEN - EOF . venv/bin/activate python3 -m twine upload python/*