Skip to content

Commit 6501a01

Browse files
author
Jonathan Cacace
authored
Update build.yml
1 parent aff6ac1 commit 6501a01

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ jobs:
5151
DEBIAN_FRONTEND=noninteractive apt-get install ros-humble-angles ros-humble-tf2 ros-humble-tf2-ros ros-humble-tf2-geometry-msgs -y
5252
apt install rapidjson-dev
5353
apt-get update
54+
55+
56+
apt update && sudo apt install -y curl gnupg2 lsb-release
57+
curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
58+
echo "deb [signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" | \
59+
tee /etc/apt/sources.list.d/ros2.list > /dev/null
60+
apt update
61+
5462
apt-get install ros-humble-generate-parameter-library -y
5563
5664
apt-get install libboost-dev libyaml-dev -y

0 commit comments

Comments
 (0)