From 9c4ed17273bbdc17d52f47f83e63648a8d49e10d Mon Sep 17 00:00:00 2001 From: Vui-Chee Date: Wed, 30 Oct 2024 15:20:09 +0800 Subject: [PATCH] Reinstate polycli step --- .github/workflows/test-e2e.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 83a82a1d..7fdb5a2b 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -52,15 +52,15 @@ jobs: pip3 install yq yq --version - # - name: Install polycli - # run: | - # POLYCLI_VERSION="${{ vars.POLYCLI_VERSION }}" - # tmp_dir=$(mktemp -d) - # curl -L "https://github.com/0xPolygon/polygon-cli/releases/download/${POLYCLI_VERSION}/polycli_${POLYCLI_VERSION}_linux_amd64.tar.gz" | tar -xz -C "$tmp_dir" - # mv "$tmp_dir"/* /usr/local/bin/polycli - # rm -rf "$tmp_dir" - # sudo chmod +x /usr/local/bin/polycli - # /usr/local/bin/polycli version + - name: Install polycli + run: | + POLYCLI_VERSION="${{ vars.POLYCLI_VERSION }}" + tmp_dir=$(mktemp -d) + curl -L "https://github.com/0xPolygon/polygon-cli/releases/download/${POLYCLI_VERSION}/polycli_${POLYCLI_VERSION}_linux_amd64.tar.gz" | tar -xz -C "$tmp_dir" + mv "$tmp_dir"/* /usr/local/bin/polycli + rm -rf "$tmp_dir" + sudo chmod +x /usr/local/bin/polycli + /usr/local/bin/polycli version - name: Install foundry uses: foundry-rs/foundry-toolchain@v1