File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,17 @@ jobs:
3333 - name : Release
3434 env :
3535 GH_TOKEN : ${{ secrets.AUTO_PR_TOKEN }}
36- PYPI_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
37- TWINE_USERNAME : __token__
38- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
3936 run : |
4037 git config user.name "github-actions[bot]"
4138 git config user.email "github-actions[bot]@users.noreply.github.com"
4239 git remote set-url origin https://x-access-token:${{ secrets.AUTO_PR_TOKEN }}@github.com/node9-ai/node9-python.git
4340 semantic-release version
44- semantic-release publish
41+
42+ - name : Build
43+ run : python -m build
44+
45+ - name : Publish to PyPI
46+ env :
47+ TWINE_USERNAME : __token__
48+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
49+ run : twine upload dist/* --skip-existing
You can’t perform that action at this time.
0 commit comments