diff --git a/.github/workflows/sui-move-build-test.yml b/.github/workflows/sui-move-build-test.yml index d93df29d..6c19d801 100644 --- a/.github/workflows/sui-move-build-test.yml +++ b/.github/workflows/sui-move-build-test.yml @@ -24,10 +24,10 @@ jobs: - name: Install sui run: | echo "Testing" - URL="https://api.github.com/repos/MystenLabs/sui/releases/latest" - latest_tag=$(curl -sSL "${URL}" | jq -r '.tag_name') + latest_tag=$(curl -sSL https://api.github.com/repos/MystenLabs/sui/releases/latest | jq -r '.tag_name') ubuntu_artifact="sui-mainnet-${latest_tag#mainnet-}-ubuntu-x86_64.tgz" - browser_download_url=$(curl -sSL "${URL}" | jq -r '.assets[] | select(.name == "${ubuntu_artifact}") | .browser_download_url') + browser_download_url=$(curl -sSL https://api.github.com/repos/MystenLabs/sui/releases/latest | jq -r '.assets[] | select(.name == "${ubuntu_artifact}") | .browser_download_url') + echo $browser_download_url curl -LO ${browser_download_url} sudo tar -xzvf ${ubuntu_artifact} sui -C /usr/local/bin