From 75ec305b478e564b809720ced7e3a7ec1ed3e5f6 Mon Sep 17 00:00:00 2001 From: Du Ruixiang <50311081+rdu-weston@users.noreply.github.com> Date: Sat, 15 Aug 2020 21:58:55 +0800 Subject: [PATCH] Update ros-ci.yml trying to resolve catkin command not found issue --- .github/workflows/ros-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ros-ci.yml b/.github/workflows/ros-ci.yml index c1c357b..7b676a9 100644 --- a/.github/workflows/ros-ci.yml +++ b/.github/workflows/ros-ci.yml @@ -22,7 +22,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Setup catkin workspace - run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && catkin_init_workspace + run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && source /opt/ros/melodic/setup.bash && catkin_init_workspace - name: Copy code to catkin workspace run: cp -r $GITHUB_WORKSPACE/wrp_sdk /catkin_ws/src - name: Run catkin_make