Skip to content

Commit

Permalink
use 'build' to build release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlatwe committed Oct 30, 2021
1 parent c7927f5 commit 8c33600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install setuptools wheel twine build
- 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 --sdist --wheel
twine upload dist/*

0 comments on commit 8c33600

Please sign in to comment.