From 9c3486a11b4a575c14f940de1a70d08581038b16 Mon Sep 17 00:00:00 2001 From: Junichiro Sugihara Date: Mon, 4 Nov 2024 00:27:03 +0900 Subject: [PATCH] [Spinal][GA][WIP] Revert the shell command change from 'bash' to 'source'. --- .github/workflows/spinal_build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/spinal_build.yml b/.github/workflows/spinal_build.yml index 8d8b9981d..4458d7f9d 100644 --- a/.github/workflows/spinal_build.yml +++ b/.github/workflows/spinal_build.yml @@ -27,7 +27,8 @@ jobs: - name: Install ROS packages with rosdep run: | - bash /opt/ros/noetic/setup.bash + bash + source /opt/ros/noetic/setup.bash rm /etc/ros/rosdep/sources.list.d/20-default.list sudo rosdep init rosdep update @@ -37,10 +38,11 @@ jobs: rosdep install -y -r --from-paths src --ignore-src --rosdistro noetic - name: Build ROS Package run: | - bash /opt/ros/noetic/setup.bash + bash + source /opt/ros/noetic/setup.bash cd ~/catkin_ws catkin build --no-status # spinal - bash devel/setup.bash + source devel/setup.bash - name: Build project run: | /opt/st/stm32cubeide_1.8.0/stm32cubeide -nosplash \