File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,15 @@ jobs:
35
35
rosdistro : [humble]
36
36
runs_on : [ubuntu-22.04, ubuntu-22.04-arm]
37
37
cmake_build_type : [RelWithDebInfo, Release] # Debug build type is currently unavailable. @TODO Fix problem and add Debug build.
38
- steps :
38
+ steps :
39
39
- name : Delete old ros2 apt source
40
40
run : |
41
41
rm /etc/apt/sources.list.d/ros2-latest.list
42
42
rm /usr/share/keyrings/ros2-latest-archive-keyring.gpg
43
43
44
44
- name : Setup new ros2 apt source
45
45
run : |
46
+ sudo apt install curl
46
47
export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}')
47
48
curl -L -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo $VERSION_CODENAME)_all.deb"
48
49
sudo apt install /tmp/ros2-apt-source.deb
You can’t perform that action at this time.
0 commit comments