Skip to content

Commit 9818e75

Browse files
committed
install git in CI
1 parent b2fd9f1 commit 9818e75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ros-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555

5656
- name: Clone r2s_gw repository
5757
run: |
58+
# Install git if not already available
59+
apt-get update -qq
60+
apt-get install -y git
61+
5862
# Try to clone the matching branch, fallback to main if it doesn't exist
5963
BRANCH_NAME="${{ github.ref_name }}"
6064
if git ls-remote --exit-code --heads https://github.com/NVIDIA-ISAAC-ROS/r2s_gw.git "$BRANCH_NAME" > /dev/null 2>&1; then

0 commit comments

Comments
 (0)