File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,17 @@ jobs:
108108 # Download and install Geth all-tools from the geth store website as the PPA only has the
109109 # latest versions of Geth.
110110 sudo apt-get install -y wget ca-certificates tar
111- wget -qO- https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-arm64-1.15.11-36b2371c.tar.gz \
112- | sudo tar xz -C /usr/local/bin --strip-components=1
111+ ARCH=$(uname -m)
112+ if [ "$ARCH" = "x86_64" ]; then
113+ URL="https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-amd64-1.15.11-36b2371c.tar.gz"
114+ elif [ "$ARCH" = "aarch64" ]; then
115+ URL="https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-arm64-1.15.11-36b2371c.tar.gz"
116+ else
117+ echo "Unsupported architecture: $ARCH"
118+ exit 1
119+ fi
120+ wget -qO- "$URL" | sudo tar xz -C /usr/local/bin --strip-components=1
121+ geth --version
113122
114123 - name : Install Geth on macOS
115124 if : matrix.os == 'macos-14'
You can’t perform that action at this time.
0 commit comments