mirror of
https://github.com/appleboy/scp-action.git
synced 2024-11-27 17:45:06 +08:00
chore: check timeout variable
This commit is contained in:
parent
f0de4fea6f
commit
2ef3f5e459
@ -4,7 +4,7 @@ set -eu
|
||||
|
||||
export GITHUB="true"
|
||||
|
||||
[ -n "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
|
||||
[ -n "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
|
||||
[ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s"
|
||||
[ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m"
|
||||
|
||||
sh -c "/bin/drone-scp $*"
|
||||
|
Loading…
Reference in New Issue
Block a user