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 961a3f2 commit c554e74Copy full SHA for c554e74
.github/workflows/release_pypi.yaml
@@ -25,11 +25,19 @@ jobs:
25
26
- name: Install dependencies
27
run: |
28
- pip install setuptools twine
+ pip install setuptools build
29
30
- - name: Build
31
- run: |
32
- python setup.py sdist
+ - name: Build a binary wheel and a source tarball
+ run: python3 -m build
+
33
+ - name: Store the distribution packages
34
+ uses: actions/upload-artifact@v3
35
+ with:
36
+ name: python-package-distributions
37
+ path: dist/
38
- - name: Publish to PyPi
39
+ - name: Publish distribution 📦 to PyPI
40
uses: pypa/gh-action-pypi-publish@release/v1
41
42
+ user: __token__
43
+ password: ${{ secrets.PYPI_TOKEN }}
0 commit comments