Skip to content

Commit

Permalink
Build with flag enabled if building from testnet or devnet branches
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-mysten committed Sep 18, 2024
1 parent 6201cb9 commit 7dd4f2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/ts-e2e/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ runs:
- name: cargo build
if: env.s3_file_exist == '' # if empty, we have not built and uploaded this binary to s3 yet
run: |
cargo build --bin sui
if [ ${{ inputs.ref }} == 'devnet' || ${{ inputs.ref }} == 'testnet' ]; then
cargo build --bin sui --features indexer
else
cargo build --bin sui
fi
shell: bash

- name: Dowload from S3
Expand Down

0 comments on commit 7dd4f2c

Please sign in to comment.