There was an error while loading. Please reload this page.
1 parent 9868e9b commit e47bd45Copy full SHA for e47bd45
.github/workflows/python-publish.yml
@@ -21,11 +21,11 @@ jobs:
21
- name: Install dependencies
22
run: |
23
python -m pip install --upgrade pip
24
- pip install setuptools wheel twine
25
- - name: Build and publish
26
- env:
27
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29
- run: |
30
- python setup.py sdist bdist_wheel
31
- twine upload dist/*
+ pip install build
+ - name: Build package
+ run: python -m build
+ - name: Publish package
+ uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
+ with:
+ user: __token__
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments