File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 sudo cp -r ${{ github.workspace }}/Worlds ${{ env.WORLDS_DIR }}
3131
3232 - name : Setup ROS 2 Humble
33- uses : ros-tooling/setup-ros@v0.6
34- with :
35- required-ros-distributions : humble
33+ run : |
34+ # Add the ROS 2 apt repository with updated key
35+ sudo apt-get update && sudo apt-get install -y curl gnupg lsb-release
36+ sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
37+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
38+ sudo apt-get update
39+ # Install ROS 2 packages
40+ sudo apt-get install -y ros-humble-ros-base python3-colcon-common-extensions
3641
3742 - name : Install Gazebo and dependencies
3843 run : |
You can’t perform that action at this time.
0 commit comments