We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5604c3 commit 601c9f4Copy full SHA for 601c9f4
.github/workflows/python-publish.yml
@@ -23,12 +23,13 @@ jobs:
23
- name: Install dependencies
24
run: |
25
python -m pip install --upgrade pip
26
- pip install setuptools wheel twine
+ pip install build twine
27
28
- - name: Build and publish
+ - name: Build package
29
+ run: python -m build
30
+
31
+ - name: Publish to PyPI
32
env:
33
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
34
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- run: |
- python setup.py sdist bdist_wheel
- twine upload dist/*
35
+ run: twine upload dist/*
0 commit comments