Skip to content

Commit

Permalink
.github/workflows/pythonpublish.yml: Use 'build' instead of calling s…
Browse files Browse the repository at this point in the history
…etup.py directly
  • Loading branch information
mkoeppe committed Aug 20, 2021
1 parent 491a6c4 commit 27ed02f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
python3 -m pip install --upgrade pip
python3 -m 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
python3 -m build
twine upload dist/*

0 comments on commit 27ed02f

Please sign in to comment.