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 65cb09e commit 5d304daCopy full SHA for 5d304da
.github/workflows/pythonpublish.yml
@@ -16,12 +16,11 @@ jobs:
16
- name: Install dependencies
17
run: |
18
python -m pip install --upgrade pip
19
- python -m pip install build
20
- - name: Build a binary wheel and a source tarball
+ pip install setuptools wheel twine
+ - name: Build and publish
21
+ env:
22
+ TWINE_USERNAME: __token__
23
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
24
- python -m build --sdist --wheel --outdir dist/ .
- - name: Publish distribution xsum to PyPI
- if: startsWith(github.ref, 'refs/tags')
25
- uses: pypa/gh-action-pypi-publish@release/v1
26
- with:
27
- password: ${{ secrets.PYPI_API_TOKEN }}
+ python setup.py sdist bdist_wheel
+ twine upload dist/*
0 commit comments