Skip to content

Commit 1123378

Browse files
committed
Test.
1 parent 46035d4 commit 1123378

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/colcon-workspace.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,18 @@ jobs:
4949

5050
- name: Print ROS info
5151
if: ${{ matrix.ros_version == 1 }}
52+
shell: bash
5253
run: |
5354
ls /opt/ros/${{ matrix.ros_distribution }}
54-
". /opt/ros/${{ matrix.ros_distribution }}/setup.bash && rosrun --help"
55+
"source /opt/ros/${{ matrix.ros_distribution }}/setup.bash && rosrun --help"
5556
printenv | grep -i ROS
5657
5758
- name: Print ROS info
5859
if: ${{ matrix.ros_version == 2 }}
60+
shell: bash
5961
run: |
6062
ls /opt/ros/${{ matrix.ros_distribution }}
61-
". /opt/ros/${{ matrix.ros_distribution }}/setup.bash && ros2 run --help"
63+
"source /opt/ros/${{ matrix.ros_distribution }}/setup.bash && ros2 run --help"
6264
printenv | grep -i ROS
6365
6466
- name: Print system information

0 commit comments

Comments
 (0)