From 8ae67b47202227072a4bc60b8ca10e5b8bec9c24 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Fri, 24 Feb 2023 21:16:51 +0100 Subject: [PATCH] fix: use curl for windows installation --- .github/scripts/install_test_binaries.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/scripts/install_test_binaries.sh b/.github/scripts/install_test_binaries.sh index bd3662cb..52f29c35 100755 --- a/.github/scripts/install_test_binaries.sh +++ b/.github/scripts/install_test_binaries.sh @@ -23,10 +23,11 @@ case "$PLATFORM" in ;; *) GETH_ARCHIVE_NAME="geth-windows-amd64-$GETH_BUILD" - wget -q "https://gethstore.blob.core.windows.net/builds/$GETH_ARCHIVE_NAME.zip" - unzip "$GETH_ARCHIVE_NAME.zip" + zip="$GETH_ARCHIVE_NAME.zip" + curl -o "$zip" "https://gethstore.blob.core.windows.net/builds/$zip" + unzip "$zip" mv -f "$GETH_ARCHIVE_NAME/geth.exe" ./ - rm -rf "$GETH_ARCHIVE_NAME" "$GETH_ARCHIVE_NAME.zip" + rm -rf "$GETH_ARCHIVE_NAME" "$zip" ;; esac