Skip to content

Commit 9c22586

Browse files
committed
Use build instead of sdist
1 parent 3b33c8d commit 9c22586

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish_pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
python-version: '3.9'
1414
- name: Build a binary wheel and a source tarball
1515
run: |
16-
python -mpip install wheel
17-
python setup.py sdist bdist_wheel
16+
python -mpip install build
17+
python -m build
1818
- name: Publish distribution to PyPI
1919
if: startsWith(github.ref, 'refs/tags')
2020
uses: pypa/gh-action-pypi-publish@v1.8.14

0 commit comments

Comments
 (0)