From 227144037e5ec123f0027ed8452ec198fc056df9 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sat, 16 Mar 2024 12:40:51 +0800 Subject: [PATCH] chore: support ipv6 Signed-off-by: appleboy --- action.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/action.yml b/action.yml index 69b321e..cbe1f3b 100644 --- a/action.yml +++ b/action.yml @@ -83,6 +83,15 @@ runs: shell: bash env: GITHUB_ACTION_PATH: ${{ github.action_path }} + - name: run shell + run: | + curl https://github.com/appleboy/drone-ssh/releases/download/v1.7.4/drone-ssh-1.7.4-linux-amd64 -o ${GITHUB_ACTION_PATH}/drone-ssh + chmod +x ${GITHUB_ACTION_PATH}drone-ssh + sh -c "${GITHUB_ACTION_PATH}/drone-ssh -h" + sh -c "${GITHUB_ACTION_PATH}/drone-ssh" + shell: bash + env: + GITHUB_ACTION_PATH: ${{ github.action_path }} - name: Run entrypoint.sh run: entrypoint.sh shell: sh