File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,12 @@ author: datavisyn
55inputs :
66 pypi_registry :
77 description : " registry where to publish python package"
8- default : " https://upload.pypi.org/legacy/"
98 required : false
109 pypi_username :
1110 description : " username for python registry"
12- default : " admin"
1311 required : true
1412 pypi_password :
1513 description : " passwort for python registry"
16- default : " admin"
1714 required : true
1815
1916runs :
3027 twine upload dist_python/*
3128 shell : bash
3229 env :
33- PYPI_REPOSITORY : ${{ inputs.pypi_registry }}
30+ PYPI_REPOSITORY : ${{ inputs.pypi_registry || 'https://upload.pypi.org/legacy/' }}
3431 TWINE_USERNAME : ${{ inputs.pypi_username }}
3532 TWINE_PASSWORD : ${{ inputs.pypi_password }}
Original file line number Diff line number Diff line change 9999 github_ro_token : ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }}
100100 - uses : ./tmp/github-workflows/.github/actions/publish-python
101101 with :
102+ pypi_registry : ${{ vars.PYPI_REGISTRY }}
102103 pypi_username : ${{ secrets.PYPI_USERNAME }}
103104 pypi_password : ${{ secrets.PYPI_PASSWORD }}
Original file line number Diff line number Diff line change 5656 github_ro_token : ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }}
5757 - uses : ./tmp/github-workflows/.github/actions/publish-python
5858 with :
59+ pypi_registry : ${{ vars.PYPI_REGISTRY }}
5960 pypi_username : ${{ secrets.PYPI_USERNAME }}
6061 pypi_password : ${{ secrets.PYPI_PASSWORD }}
You can’t perform that action at this time.
0 commit comments