Skip to content

Commit c87da4a

Browse files
authored
Delete ros key workaround in BuildAndRun.yaml
1 parent 1d8b925 commit c87da4a

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/BuildAndRun.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,7 @@ jobs:
3535
rosdistro: [humble]
3636
runs_on: [ubuntu-22.04, ubuntu-22.04-arm]
3737
cmake_build_type: [RelWithDebInfo, Release] # Debug build type is currently unavailable. @TODO Fix problem and add Debug build.
38-
steps:
39-
# workaround until the fix release in the official ros image
40-
- name: Delete old ros2 apt source
41-
run: |
42-
rm /etc/apt/sources.list.d/ros2-latest.list
43-
rm /usr/share/keyrings/ros2-latest-archive-keyring.gpg
44-
45-
- name: Setup new ros2 apt source
46-
run: |
47-
sudo apt-get update && sudo apt-get install curl
48-
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}')
49-
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"
50-
sudo apt install /tmp/ros2-apt-source.deb
51-
38+
steps:
5239
- name: Suppress warnings
5340
run: git config --global --add safe.directory '*'
5441

0 commit comments

Comments
 (0)