From ae6fb2cd0190f2750db2b0debd02b6ffd49ea44a Mon Sep 17 00:00:00 2001 From: Ruixiang Du Date: Fri, 23 Oct 2020 14:47:47 +0800 Subject: [PATCH] fixing ros ci on github --- .github/workflows/ros-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ros-ci.yml b/.github/workflows/ros-ci.yml index 3af080a..6ed9826 100644 --- a/.github/workflows/ros-ci.yml +++ b/.github/workflows/ros-ci.yml @@ -26,8 +26,6 @@ jobs: - 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 - run: cd /catkin_ws/src && cp -r $GITHUB_WORKSPACE . - - name: Update git submodule - run: cd /catkin_ws/src/ugv_sdk && git submodule update --init --recursive + run: cd /catkin_ws/src && git clone --recursive https://github.com/westonrobot/ugv_sdk - name: Run catkin_make run: cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"