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 3edcb41 commit 7016821Copy full SHA for 7016821
.github/workflows/pythonpublish.yml
@@ -13,15 +13,16 @@ jobs:
13
- name: Set up Python
14
uses: actions/setup-python@v1
15
with:
16
- python-version: '3.x'
+ python-version: '3.9'
17
- name: Install dependencies
18
run: |
19
python -m pip install --upgrade pip
20
- pip install setuptools wheel twine
21
- - name: Build and publish
22
- env:
23
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
24
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ pip install setuptools wheel
+ - name: Build
25
26
python setup.py sdist bdist_wheel
27
- twine upload dist/*
+ - name: Publish
+ uses: pypa/gh-action-pypi-publish@master
+ with:
+ user: __token__
28
+ password: ${{ secrets.PYPI_TOKEN }}
0 commit comments