Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepakBomjan committed May 9, 2024
1 parent 885293f commit f33c0a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sui-move-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Install sui
run: |
echo "Testing"
curl -sSL "https://api.github.com/repos/MystenLabs/sui/releases/latest" | jq -r '.tag_name'
latest_tag=$(curl -sSL "https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/releases/latest" | jq -r '.tag_name')
URL="https://api.github.com/repos/MystenLabs/sui/releases/latest"
latest_tag=$(curl -sSL "$URL" | jq -r '.tag_name')
ubuntu_artifact="sui-mainnet-${latest_tag#mainnet-}-ubuntu-x86_64.tgz"
browser_download_url=$(curl -sSL "https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/releases/latest" | jq -r '.assets[] | select(.name == "${ubuntu_artifact}") | .browser_download_url')
browser_download_url=$(curl -sSL "$URL" | 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 f33c0a3

Please sign in to comment.