Skip to content

Commit

Permalink
chore: add version.json
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Aug 27, 2024
1 parent d0e244d commit 0f49900
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-sui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Test Sui

on: pull_request

env:
SUI_VERSION: mainnet-v1.25.3

jobs:
test-sui:
runs-on: blacksmith-2vcpu-ubuntu-2204
Expand All @@ -22,6 +19,12 @@ jobs:
- name: Install
run: npm ci

- name: Read SUI_VERSION from JSON
id: read-json
run: |
SUI_VERSION=$(jq -r '.SUI_VERSION' sui/version.json)
echo "SUI_VERSION=${SUI_VERSION}" >> $GITHUB_ENV
- name: Setup Sui CLI and install dependencies
uses: ./.github/actions/setup-sui
with:
Expand Down
3 changes: 3 additions & 0 deletions sui/version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"SUI_VERSION": "mainnet-v1.25.3"
}

0 comments on commit 0f49900

Please sign in to comment.