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