feat(actions): improve API robustness and testing coverage

- Add `protocol` input with description and default value `tcp`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2024-10-28 22:33:53 +08:00
parent 93e17a47f9
commit 172d4632fe
No known key found for this signature in database

View File

@ -11,6 +11,9 @@ inputs:
description: "scp username" description: "scp username"
password: password:
description: "scp password" description: "scp password"
protocol:
description: "The IP protocol to use. Valid values are 'tcp'. 'tcp4' or 'tcp6'. Default to tcp."
default: "tcp"
timeout: timeout:
description: "timeout for ssh to remote host" description: "timeout for ssh to remote host"
default: "30s" default: "30s"