Skip to content

Commit

Permalink
Install sui from homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
manolisliolios committed Oct 16, 2024
1 parent 18cbc97 commit c1812fe
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/sdk_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ jobs:
with:
fetch-depth: 1

- name: Install Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH
- name: Install Sui using Homebrew
run: brew install sui

- uses: actions/setup-node@v4
with:
node-version: 20
Expand All @@ -36,15 +44,6 @@ jobs:
run: |
pnpm install
- name: Download & Extract latest SUI binary
run: |
url=$(curl -s https://api.github.com/repos/mystenlabs/sui/releases/latest | jq -r '.assets[] | select(.name | contains("ubuntu")) | .browser_download_url')
filename="sui-x86-64.tgz"
wget $url -O $filename
tar -xzf $filename
ls
./sui -V
- name: Prepare local network & run SDK tests
env:
IS_CI_JOB: true
Expand Down

0 comments on commit c1812fe

Please sign in to comment.