diff --git a/.github/workflows/ros2.yml b/.github/workflows/ros2.yml index 1e30cff55..0b954598b 100644 --- a/.github/workflows/ros2.yml +++ b/.github/workflows/ros2.yml @@ -37,6 +37,7 @@ jobs: required-ros-distributions: ${{ matrix.ros_distro }} - name: Setup ros2 workspace + shell: bash run: | source /opt/ros/${{ matrix.ros_distro }}/setup.bash mkdir -p ${{github.workspace}}/ros2_ws/src @@ -53,6 +54,7 @@ jobs: path: 'ros2_ws/src/rtabmap_ros' - name: colcon build + shell: bash run: | source /opt/ros/${{ matrix.ros_distro }}/setup.bash cd ${{github.workspace}}/ros2_ws