We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e6376d commit 267202bCopy full SHA for 267202b
twine-upload.sh
@@ -39,7 +39,7 @@ INPUT_VERIFY_METADATA="$(get-normalized-input 'verify-metadata')"
39
INPUT_SKIP_EXISTING="$(get-normalized-input 'skip-existing')"
40
INPUT_PRINT_HASH="$(get-normalized-input 'print-hash')"
41
42
-if [[ -z "${INPUT_PASSWORD}" ]] ; then
+if [[ "${INPUT_USER}" == "__token__" && -z "${INPUT_PASSWORD}" ]] ; then
43
# No password supplied by the user implies that we're in the OIDC flow;
44
# retrieve the OIDC credential and exchange it for a PyPI API token.
45
echo "::notice::in OIDC flow"
0 commit comments