From 8b415485f74ac5a1f1a3fd274c37c28e67ccbba2 Mon Sep 17 00:00:00 2001 From: Ruixiang Du Date: Fri, 31 Mar 2023 09:31:52 +0800 Subject: [PATCH] ci: install git for ros builds --- .github/workflows/ros-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ros-ci.yml b/.github/workflows/ros-ci.yml index 97d2c6f..7725085 100644 --- a/.github/workflows/ros-ci.yml +++ b/.github/workflows/ros-ci.yml @@ -21,7 +21,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - name: Install dependencies - run: sudo apt-get update && sudo apt-get install -y libasio-dev + run: sudo apt-get update && sudo apt-get install -y git libasio-dev - name: Create catkin workspace run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace" - name: Copy code to catkin workspace @@ -38,7 +38,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - name: Install dependencies - run: sudo apt-get update && sudo apt-get install -y libasio-dev + run: sudo apt-get update && sudo apt-get install -y git libasio-dev - name: Create catkin workspace run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace" - name: Copy code to catkin workspace @@ -55,7 +55,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - name: Install dependencies - run: sudo apt-get update && sudo apt-get install -y libasio-dev + run: sudo apt-get update && sudo apt-get install -y git libasio-dev - name: Create colcon workspace run: mkdir -p /ros2_ws/src && cd /ros2_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash" - name: Copy code to colcon workspace @@ -72,7 +72,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - name: Install dependencies - run: sudo apt-get update && sudo apt-get install -y libasio-dev + run: sudo apt-get update && sudo apt-get install -y git libasio-dev - name: Create colcon workspace run: mkdir -p /ros2_ws/src && cd /ros2_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash" - name: Copy code to colcon workspace