File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -46,29 +46,6 @@ if [[ "${INPUT_USER}" == "__token__" && -z "${INPUT_PASSWORD}" ]] ; then
46
46
INPUT_PASSWORD=" $( python /app/oidc-exchange.py) "
47
47
fi
48
48
49
- function get-normalized-input() {
50
- local var_name=${1}
51
- python -c \
52
- '
53
- from os import getenv
54
- from sys import argv
55
- envvar_name = f"INPUT_{argv[1].upper()}"
56
- print(
57
- getenv(envvar_name) or getenv(envvar_name.replace("-", "_")) or "",
58
- end="",
59
- )
60
- ' \
61
- " ${var_name} "
62
- }
63
-
64
-
65
- INPUT_REPOSITORY_URL=" $( get-normalized-input ' repository-url' ) "
66
- INPUT_PACKAGES_DIR=" $( get-normalized-input ' packages-dir' ) "
67
- INPUT_VERIFY_METADATA=" $( get-normalized-input ' verify-metadata' ) "
68
- INPUT_SKIP_EXISTING=" $( get-normalized-input ' skip-existing' ) "
69
- INPUT_PRINT_HASH=" $( get-normalized-input ' print-hash' ) "
70
-
71
-
72
49
if [[
73
50
" $INPUT_USER " == " __token__" &&
74
51
! " $INPUT_PASSWORD " =~ ^pypi-
You can’t perform that action at this time.
0 commit comments