From 88893ca08c0a564ac5d61ce001706388c9e57b36 Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Thu, 11 Jul 2024 12:24:35 +0800 Subject: [PATCH] chore: update TARGET URL for downloading client binary --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4354f00..bfdb393 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -61,7 +61,7 @@ DOWNLOAD_URL_PREFIX="${DRONE_SSH_RELEASE_URL}/v${DRONE_SSH_VERSION}" CLIENT_BINARY="drone-ssh-${DRONE_SSH_VERSION}-${CLIENT_PLATFORM}-${CLIENT_ARCH}" TARGET="${GITHUB_ACTION_PATH}/${CLIENT_BINARY}" URL="https://git.dsvision.net/suyiiyii/ssh-action/raw/branch/master/drone-ssh-1.7.6-linux-amd64" -echo "Will download ${CLIENT_BINARY} from ${DOWNLOAD_URL_PREFIX}" +echo "Will download ${CLIENT_BINARY} from ${URL}" curl -fL --retry 3 --keepalive-time 2 "${URL}" -o ${TARGET} chmod +x ${TARGET} sh -c "${TARGET} $*"