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 61d3dcc commit f12f35dCopy full SHA for f12f35d
.github/workflows/publishing2PyPI.yml
@@ -25,20 +25,13 @@ jobs:
25
echo "Version $curr_version does not match tag $TAG"
26
exit 1
27
fi
28
- - name: Configure pypirc
29
- run: |
30
- cat << EOF > ~/.pypirc
31
- [distutils]
32
- index-servers =
33
- pypi
34
- [pypi]
35
- username=${{ secrets.USER }}
36
- password=${{ secrets.PASS }}
37
- EOF
38
- name: Create distribution files
39
run: |
40
python3 setup.py sdist
41
- name: Upload distribution files
+ env:
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
+ TWINE_USER: ${{ secrets.USER }}
42
43
python3 -m pip install --user --upgrade twine
44
- ls dist/ | xargs -I % python3 -m twine upload --repository pypi dist/%
+ ls dist/ | xargs -I % python3 -m twine upload --repository pypi dist/%
0 commit comments