Skip to content

Commit

Permalink
Fix bad variable substitution (MystenLabs#14829)
Browse files Browse the repository at this point in the history
  • Loading branch information
mystenmark authored Nov 14, 2023
1 parent 223d0e4 commit 39bbf0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/simulator-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
# Checkout out the latest sui repo
- name: Checkout sui repo
run: |
tsh -i ${{ steps.auth.outputs.identity-file }} --ttl 10 ssh ubuntu@simtest-01 "source ~/.bashrc && source ~/.cargo/env && cd ~/sui && git fetch origin && git checkout ${{ inputs.sui_commit }}"
SUI_COMMIT=${{ inputs.sui_commit }}
tsh -i ${{ steps.auth.outputs.identity-file }} --ttl 10 ssh ubuntu@simtest-01 "source ~/.bashrc && source ~/.cargo/env && cd ~/sui && git fetch origin && git checkout $SUI_COMMIT"
# Setting up cargo and simtest
- name: Install simtest
Expand Down
2 changes: 2 additions & 0 deletions scripts/simtest/simtest-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Copyright (c) Mysten Labs, Inc.
# SPDX-License-Identifier: Apache-2.0

echo "Running simulator tests at commit $(git rev-parse HEAD)"

# Function to handle SIGINT signal (Ctrl+C)
cleanup() {
echo "Cleaning up child processes..."
Expand Down

0 comments on commit 39bbf0a

Please sign in to comment.