There was an error while loading. Please reload this page.
1 parent 785df3b commit 58c886aCopy full SHA for 58c886a
.github/workflows/python-publish.yml
@@ -21,11 +21,12 @@ jobs:
21
- name: Install dependencies
22
run: |
23
python -m pip install --upgrade pip
24
- pip install setuptools wheel twine
+ pip install twine build
25
- name: Build and publish
26
env:
27
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29
30
- python setup.py sdist bdist_wheel
+ python3 -m build --sdist
31
+ twine check dist/*
32
twine upload dist/*
0 commit comments