Skip to content

Commit

Permalink
fix publish to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
amofakhar committed Oct 10, 2024
1 parent 3eb1f5d commit 43153fa
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 @@ -17,10 +17,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Build package
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 43153fa

Please sign in to comment.