feat: add new input for tar executable path (#102)

- Add new input `tar_exec` with description and default value

fix https://github.com/appleboy/drone-scp/issues/137
fix https://github.com/appleboy/scp-action/issues/83
This commit is contained in:
Bo-Yi Wu 2023-04-09 11:57:45 +08:00 committed by GitHub
parent 98930d398c
commit 51b937b31f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -51,6 +51,7 @@ See the [action.yml](./action.yml) file for more detail information.
* strip_components - remove the specified number of leading path elements.
* overwrite - use `--overwrite` flag with tar
* tar_tmp_path - temporary path for tar file on the dest host
* tar_exec - path to tar executable on the dest host. default is `tar`
* use_insecure_cipher - include more ciphers with use_insecure_cipher (see [#15](https://github.com/appleboy/scp-action/issues/15))
SSH Proxy Setting:

View file

@ -46,6 +46,9 @@ inputs:
default: false
tar_tmp_path:
description: 'temporary path for tar file on the dest host'
tar_exec:
description: 'temporary path for tar file on the dest host'
default: 'tar'
proxy_host:
description: 'ssh proxy remote host'
proxy_port: