update INPUT_STRIP_COMPONENTS

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2019-09-28 12:34:38 +08:00
parent 6fd371aeaf
commit 722d935a90

View File

@ -6,5 +6,6 @@ export GITHUB="true"
[ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s" [ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
[ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m" [ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
[ -n "$INPUT_STRIP_COMPONENTS" ] && export INPUT_STRIP_COMPONENTS=$((INPUT_STRIP_COMPONENTS + 0))
sh -c "/bin/drone-scp $*" sh -c "/bin/drone-scp $*"