Skip to content

Commit 95ee85f

Browse files
authored
[ga] Fixed catkin test (#3)
1 parent e75cec2 commit 95ee85f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ jobs:
112112
apt-get install -qq -y dpkg # necessary for catkin-pkg to be installable
113113
echo "Testing branch $GITHUB_REF of $GITHUB_REPOSITORY"
114114
sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
115-
wget http://packages.ros.org/ros.key -O - | apt-key add -
115+
# Replace the old apt-key add with the new method for adding the key
116+
# https://github.com/ros/rosdistro/pull/46048
117+
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -
116118
apt-get update -qq
117119
apt-get install -qq -y python-catkin-tools python-rosdep
118120
apt-get install -qq -y build-essential git ros-melodic-rosbash ros-melodic-rospack

0 commit comments

Comments
 (0)