File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -56,23 +56,19 @@ https://docs.pypi.org/trusted-publishers"
56
56
if [[ " ${INPUT_USER} " == " __token__" && -z " ${INPUT_PASSWORD} " ]] ; then
57
57
# No password supplied by the user implies that we're in the OIDC flow;
58
58
# retrieve the OIDC credential and exchange it for a PyPI API token.
59
- echo \
60
- ' ::notice::Attempting to perform trusted publishing exchange' \
61
- ' to retrieve a temporary short-lived API token for authentication' \
62
- " against ${INPUT_REPOSITORY_URL} due to __token__ username with no" \
63
- ' supplied password field'
59
+ echo " ::debug::Authenticating to ${INPUT_REPOSITORY_URL} via Trusted Publishing"
64
60
INPUT_PASSWORD=" $( python /app/oidc-exchange.py) "
65
61
elif [[ " ${INPUT_USER} " == ' __token__' ]]; then
66
62
echo \
67
- ' ::notice ::Using a user-provided API token for authentication' \
63
+ ' ::debug ::Using a user-provided API token for authentication' \
68
64
" against ${INPUT_REPOSITORY_URL} "
69
65
70
66
if [[ " ${INPUT_REPOSITORY_URL} " =~ pypi\. org ]]; then
71
67
echo " ${TRUSTED_PUBLISHING_NUDGE} "
72
68
fi
73
69
else
74
70
echo \
75
- ' ::notice ::Using a username + password pair for authentication' \
71
+ ' ::debug ::Using a username + password pair for authentication' \
76
72
" against ${INPUT_REPOSITORY_URL} "
77
73
78
74
if [[ " ${INPUT_REPOSITORY_URL} " =~ pypi\. org ]]; then
You can’t perform that action at this time.
0 commit comments