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 d7838ae commit e50d971Copy full SHA for e50d971
.github/workflows/python-publish.yml
@@ -19,19 +19,10 @@ jobs:
19
with:
20
python-version: '3.x'
21
22
- - name: Install dependencies
+ - name: Install dependencies and Publish package
23
run: |
24
+ cd /PyPI/Package
25
python -m pip install --upgrade pip
26
pip install build twine
- working-directory: /PyPI/Package
27
-
28
- - name: Build package
29
- run: python -m build
30
31
32
- - name: Publish package to PyPI
33
- run: python -m twine upload dist/*
34
35
- env:
36
- TWINE_USERNAME: __token__
37
- TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
+ python -m build
+ python -m twine upload dist/* --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
0 commit comments