Skip to content

Commit

Permalink
Fix attempt to resolve GH_REF issue in git clone command
Browse files Browse the repository at this point in the history
  • Loading branch information
lola831 authored Jan 14, 2025
1 parent f46654e commit 88a6718
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run-simulators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,11 @@ jobs:
GH_REF: ${{ github.ref }}
run: |
echo "$PRIVATE_KEY" > private_key && chmod 600 private_key
echo "GitHub Ref: $GH_REF"
ssh -o StrictHostKeyChecking=no -i private_key ${USER_NAME}@${HOSTNAME} '
cd /home/ubuntu/actions/ &&
rm -rf Scenic &&
git clone --branch $(basename "$GH_REF") --single-branch https://[email protected]/BerkeleyLearnVerify/Scenic.git &&
git clone --branch "$GH_REF" --single-branch https://[email protected]/BerkeleyLearnVerify/Scenic.git &&
cd Scenic &&
python3 -m venv venv &&
source venv/bin/activate &&
Expand Down

0 comments on commit 88a6718

Please sign in to comment.