mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-03-10 00:25:35 +00:00
chore: bump DRONE_SSH version to 1.8.1
- Update the default version of DRONE_SSH from 1.8.0 to 1.8.1 Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
039c9e07bb
commit
b0a8f324e1
@ -8,7 +8,7 @@ export GITHUB="true"
|
||||
|
||||
GITHUB_ACTION_PATH="${GITHUB_ACTION_PATH%/}"
|
||||
DRONE_SSH_RELEASE_URL="${DRONE_SSH_RELEASE_URL:-https://github.com/appleboy/drone-ssh/releases/download}"
|
||||
DRONE_SSH_VERSION="${DRONE_SSH_VERSION:-1.8.0}"
|
||||
DRONE_SSH_VERSION="${DRONE_SSH_VERSION:-1.8.1}"
|
||||
|
||||
function detect_client_info() {
|
||||
if [ -n "${SSH_CLIENT_OS-}" ]; then
|
||||
@ -69,9 +69,9 @@ echo "======= CLI Version ======="
|
||||
sh -c "${TARGET} --version" # print version
|
||||
echo "==========================="
|
||||
if [[ "$INPUT_CAPTURE_STDOUT" == 'true' ]]; then
|
||||
echo 'stdout<<EOF' >> $GITHUB_OUTPUT # use heredoc for multiline output
|
||||
echo 'stdout<<EOF' >>$GITHUB_OUTPUT # use heredoc for multiline output
|
||||
sh -c "${TARGET} $*" | tee -a $GITHUB_OUTPUT # run the command
|
||||
echo 'EOF' >> $GITHUB_OUTPUT
|
||||
echo 'EOF' >>$GITHUB_OUTPUT
|
||||
else
|
||||
sh -c "${TARGET} $*" # run the command
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user