mirror of
https://gitcode.com/gh_mirrors/gh/gh-action-pypi-publish.git
synced 2026-07-02 18:27:49 +00:00
Remove double spaces
This commit is contained in:
+4
-4
@@ -44,17 +44,17 @@ if [[ "${INPUT_USER}" == "__token__" && -z "${INPUT_PASSWORD}" ]] ; then
|
|||||||
# No password supplied by the user implies that we're in the OIDC flow;
|
# No password supplied by the user implies that we're in the OIDC flow;
|
||||||
# retrieve the OIDC credential and exchange it for a PyPI API token.
|
# retrieve the OIDC credential and exchange it for a PyPI API token.
|
||||||
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}"
|
"against ${INPUT_REPOSITORY_URL}"
|
||||||
INPUT_PASSWORD="$(python /app/oidc-exchange.py)"
|
INPUT_PASSWORD="$(python /app/oidc-exchange.py)"
|
||||||
elif [[ "${INPUT_USER}" == '__token__' ]]; then
|
elif [[ "${INPUT_USER}" == '__token__' ]]; then
|
||||||
echo \
|
echo \
|
||||||
'::notice::Using a user-provided API token for authentication ' \
|
'::notice::Using a user-provided API token for authentication' \
|
||||||
"against ${INPUT_REPOSITORY_URL}"
|
"against ${INPUT_REPOSITORY_URL}"
|
||||||
else
|
else
|
||||||
echo \
|
echo \
|
||||||
'::notice::Using a username + password pair for authentication ' \
|
'::notice::Using a username + password pair for authentication' \
|
||||||
"against ${INPUT_REPOSITORY_URL}}"
|
"against ${INPUT_REPOSITORY_URL}}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user