We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be69596 commit e90e853Copy full SHA for e90e853
twine-upload.sh
@@ -59,12 +59,18 @@ elif [[ "${INPUT_USER}" == '__token__' ]]; then
59
echo \
60
'::notice::Using a user-provided API token for authentication' \
61
"against ${INPUT_REPOSITORY_URL}"
62
- echo "${TRUSTED_PUBLISHING_NUDGE}"
+
63
+ if [[ "${INPUT_REPOSITORY_URL}" =~ pypi\.org ]]; then
64
+ echo "${TRUSTED_PUBLISHING_NUDGE}"
65
+ fi
66
else
67
68
'::notice::Using a username + password pair for authentication' \
69
70
71
72
73
74
fi
75
76
if [[
0 commit comments