chore: check timeout variable

master
Bo-Yi Wu 5 years ago
parent f0de4fea6f
commit 2ef3f5e459

@ -4,7 +4,7 @@ set -eu
export GITHUB="true" export GITHUB="true"
[ -n "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s" [ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
[ -n "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m" [ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
sh -c "/bin/drone-scp $*" sh -c "/bin/drone-scp $*"

Loading…
Cancel
Save