From 95875c872e56dc6176582706eee5b4874dcd0e52 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Sat, 1 Jun 2024 15:09:38 -0700 Subject: [PATCH] CI: update shell command --- .github/workflows/ros2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ros2.yml b/.github/workflows/ros2.yml index 0b954598b..b4b797389 100644 --- a/.github/workflows/ros2.yml +++ b/.github/workflows/ros2.yml @@ -37,7 +37,7 @@ jobs: required-ros-distributions: ${{ matrix.ros_distro }} - name: Setup ros2 workspace - shell: bash + shell: /usr/bin/bash -e {0} run: | source /opt/ros/${{ matrix.ros_distro }}/setup.bash mkdir -p ${{github.workspace}}/ros2_ws/src @@ -54,7 +54,7 @@ jobs: path: 'ros2_ws/src/rtabmap_ros' - name: colcon build - shell: bash + shell: /usr/bin/bash -e {0} run: | source /opt/ros/${{ matrix.ros_distro }}/setup.bash cd ${{github.workspace}}/ros2_ws