Skip to content

Commit

Permalink
update publish_pypi.yml to use build command
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed Dec 29, 2024
1 parent 1e1a30f commit 0959d2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install build twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m build
twine upload dist/*.tar.gz
twine upload dist/*.whl

0 comments on commit 0959d2b

Please sign in to comment.