mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-22 08:31:08 -05:00
Apply suggestions from code review
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
This commit is contained in:
parent
3d567f44ce
commit
dfde872acc
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ if [[ "${INPUT_USER}" == "__token__" && -z "${INPUT_PASSWORD}" ]] ; then
|
||||||
echo \
|
echo \
|
||||||
'::notice::Attempting to perform OIDC credential exchange' \
|
'::notice::Attempting to perform OIDC credential exchange' \
|
||||||
'to retrieve a temporary short-lived API token for authentication' \
|
'to retrieve a temporary short-lived API token for authentication' \
|
||||||
"against ${INPUT_REPOSITORY_URL} due to __token__ username with no " \
|
"against ${INPUT_REPOSITORY_URL} due to __token__ username with no" \
|
||||||
'supplied password field'
|
'supplied password field'
|
||||||
INPUT_PASSWORD="$(python /app/oidc-exchange.py)"
|
INPUT_PASSWORD="$(python /app/oidc-exchange.py)"
|
||||||
elif [[ "${INPUT_USER}" == '__token__' ]]; then
|
elif [[ "${INPUT_USER}" == '__token__' ]]; then
|
||||||
|
|
Loading…
Reference in a new issue