Skip to content

Commit

Permalink
fixing deploy pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
Géry Casiez committed Dec 14, 2024
1 parent f607845 commit 8c1c9ae
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/pythonBinding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF > ~/.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/*

0 comments on commit 8c1c9ae

Please sign in to comment.