Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
  • Loading branch information
woodruffw and webknjaz authored Mar 22, 2023
1 parent 2efa250 commit c122cdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions twine-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ if [[ "${INPUT_USER}" == "__token__" && -z "${INPUT_PASSWORD}" ]] ; then
'to retrieve a temporary short-lived API token for authentication ' \
"against ${INPUT_REPOSITORY_URL}"
INPUT_PASSWORD="$(python /app/oidc-exchange.py)"
elif [[ "${INPUT_USER}" == "__token__" ]]; then
elif [[ "${INPUT_USER}" == '__token__' ]]; then
echo \
"::notice::Using a user-provided API token for authentication " \
'::notice::Using a user-provided API token for authentication ' \
"against ${INPUT_REPOSITORY_URL}"
else
echo \
"::notice::Using a username + password pair for authentication " \
'::notice::Using a username + password pair for authentication ' \
"against ${INPUT_REPOSITORY_URL}}"
fi

Expand Down

0 comments on commit c122cdf

Please sign in to comment.