diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 0a45278..862317a 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -29,13 +29,15 @@ jobs: - name: Build ROS Package run: | - . /opt/ros/noetic/setup.bash - mkdir -p catkin_ws/src - cp -R . catkin_ws/src/ - cd catkin_ws - catkin_make + mkdir -p catkin_ws/src + # Find and copy all items except the catkin_ws directory + find . -maxdepth 1 ! -name 'catkin_ws' -exec cp -R {} catkin_ws/src/ \; + cd catkin_ws + . /opt/ros/noetic/setup.bash + catkin_make shell: bash + - name: Run Tests run: | . /opt/ros/noetic/setup.bash