From 51b937b31f630852d36bbb161807b5a87b009e45 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 9 Apr 2023 11:57:45 +0800 Subject: [PATCH] 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 --- README.md | 1 + action.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 75f0537..8bf6690 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/action.yml b/action.yml index a0f8728..7a9f884 100644 --- a/action.yml +++ b/action.yml @@ -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: