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.
2 parents 4a8c1b6 + 4496907 commit d45fdc6Copy full SHA for d45fdc6
.github/workflows/python-publish.yml
@@ -41,11 +41,13 @@ jobs:
41
- name: Install dependencies
42
run: |
43
python -m pip install --upgrade pip
44
- pip install setuptools wheel twine
45
- - name: Build and publish
46
- env:
47
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
48
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
49
- run: |
50
- python setup.py sdist bdist_wheel
51
- twine upload --verbose dist/*
+ pip install build setuptools wheel twine
+ - name: Build package
+ run: python setup.py sdist bdist_wheel
+ - name: Publish package
+ uses: pypa/gh-action-pypi-publish@v1
+ with:
+ verbose: true
+ repository-url: https://upload.pypi.org/legacy/
52
+ user: __token__
53
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments