mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-10 11:59:50 +08:00
CI: remove conflicting ros2-testing-apt-source before setup-ros (rolling)
This commit is contained in:
@@ -43,6 +43,11 @@ jobs:
|
|||||||
image: osrf/ros:${{ matrix.ros_distribution }}-desktop-full
|
image: osrf/ros:${{ matrix.ros_distribution }}-desktop-full
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
# Newer osrf/ros images (e.g. rolling) ship "ros2-testing-apt-source", which conflicts
|
||||||
|
# with the "ros2-apt-source" package that setup-ros installs. Remove it first so setup-ros
|
||||||
|
# can install its apt source cleanly (no-op on images that don't have it).
|
||||||
|
- name: Remove conflicting ros2 apt source package
|
||||||
|
run: apt-get remove -y ros2-testing-apt-source || true
|
||||||
- uses: ros-tooling/[email protected]
|
- uses: ros-tooling/[email protected]
|
||||||
with:
|
with:
|
||||||
required-ros-distributions: ${{ matrix.ros_distribution }}
|
required-ros-distributions: ${{ matrix.ros_distribution }}
|
||||||
|
|||||||
Reference in New Issue
Block a user