Skip to content

Commit

Permalink
CI: update shell command
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Jun 1, 2024
1 parent fe02ec3 commit 95875c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ros2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 95875c8

Please sign in to comment.