Skip to content

Commit

Permalink
fix python wheel publish
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Apr 20, 2024
1 parent 025fa30 commit 5233688
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ jobs:
with:
python-version: '3.x'
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m pip install --upgrade pip
pip install build
python -m pip install build
python -m build
twine upload dist/*
pip install twine
twine upload --skip-existing -u __token__ -p "${{ secrets.PYPI_API_TOKEN }}" dist/*

0 comments on commit 5233688

Please sign in to comment.