Skip to content

Commit

Permalink
ci: use curl to download artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepakBomjan committed May 9, 2024
1 parent 6488e68 commit 7e60d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sui-move-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install sui
run: |
latest_tag=$(curl -sSL ${sui_repo} | jq -r '.tag_name')
ubuntu_artifact=$(sui-mainnet-${latest_tag#mainnet-}-ubuntu-x86_64.tgz)
ubuntu_artifact=${sui-mainnet-${latest_tag#mainnet-}-ubuntu-x86_64.tgz}
browser_download_url=$(curl -sSL ${sui_repo} | jq -r '.assets[] | select(.name == "${ubuntu_artifact}") | .browser_download_url')
curl -LO $browser_download_url
sudo tar -xzvf ${ubuntu_artifact} sui -C /usr/local/bin
Expand Down

0 comments on commit 7e60d8a

Please sign in to comment.