We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d6bbeb commit fc1ec04Copy full SHA for fc1ec04
1 file changed
.github/workflows/pythonpublish.yml
@@ -15,13 +15,16 @@ jobs:
15
python-version: '3.x'
16
- name: Install dependencies
17
run: |
18
- python -m pip install --upgrade pip
19
- pip install setuptools wheel twine==5.0.0
+ python -m pip install --upgrade pip build twine
20
21
- - name: Build and publish
+ - name: Build distribution artifacts
+ run: |
22
+ # this will read pyproject.toml and produce both sdist and wheel in dist/
23
+ python -m build --sdist --wheel
24
+
25
+ - name: Publish to PyPI
26
env:
27
TWINE_USERNAME: __token__
28
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29
- python setup.py sdist bdist_wheel
30
twine upload dist/*
0 commit comments