How can I update the GPG key in github-actions? The ros-tooling/setup-ros@0.2.0 command (which is the latest version 0.2.0) stops with this error:
/usr/bin/sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://packages.ros.org/ros/ubuntu focal InRelease [4,676 B]
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Get:5 http://packages.ros.org/ros2/ubuntu focal InRelease [4,670 B]
Hit:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Err:3 http://packages.ros.org/ros/ubuntu focal InRelease
The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
Err:5 http://packages.ros.org/ros2/ubuntu focal InRelease
The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
Reading package lists...
W: GPG error: http://packages.ros.org/ros/ubuntu focal InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
E: The repository 'http://packages.ros.org/ros/ubuntu focal InRelease' is not signed.
W: GPG error: http://packages.ros.org/ros2/ubuntu focal InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
E: The repository 'http://packages.ros.org/ros2/ubuntu focal InRelease' is not signed.
Error: The process '/usr/bin/sudo' failed with exit code 100
Link to corresponding ci.yml
Link to failing github-action:
https://github.com/ros2/rclc/pull/94/checks?check_run_id=2707777582