Skip to content

Commit

Permalink
ENH: build packages with build (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored Nov 8, 2023
1 parent dcd6f81 commit 162ca25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install setuptools wheel twine
python3 -m pip install build twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m build
twine upload dist/*

0 comments on commit 162ca25

Please sign in to comment.