Skip to content

Commit

Permalink
Merge pull request #599 from knabar/maint-build
Browse files Browse the repository at this point in the history
Update PyPI publish workflow to use build instead of sdist
  • Loading branch information
jburel authored Nov 22, 2024
2 parents cbf9730 + ca710df commit a1483bf
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 @@ -13,8 +13,8 @@ jobs:
python-version: '3.9'
- name: Build a binary wheel and a source tarball
run: |
python -mpip install wheel
python setup.py sdist bdist_wheel
python -mpip install build
python -m build
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/[email protected]
Expand Down

0 comments on commit a1483bf

Please sign in to comment.