Be verbose on ACTIONS_STEP_DEBUG

This commit is contained in:
Lars Gohr
2020-05-19 21:06:16 +02:00
parent 508d4eee28
commit 554d1b7c0e
2 changed files with 13 additions and 0 deletions

View File

@@ -4,6 +4,10 @@ set -e
function main() {
echo "" # see https://github.com/actions/toolkit/issues/168
if usesBoolean "${ACTIONS_STEP_DEBUG}"; then
set -x
fi
sanitize "${INPUT_NAME}" "name"
sanitize "${INPUT_USERNAME}" "username"
sanitize "${INPUT_PASSWORD}" "password"