Skip to content

Commit 2fd6ffe

Browse files
authored
Delete ros key workaround in Release.yaml
1 parent c87da4a commit 2fd6ffe

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/Release.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,6 @@ jobs:
3232
outputs:
3333
new_version: ${{ steps.new_version.outputs.new_version }}
3434
steps:
35-
# workaround until the fix release in the official ros image
36-
- name: Delete old ros2 apt source
37-
run: |
38-
rm /etc/apt/sources.list.d/ros2-latest.list
39-
rm /usr/share/keyrings/ros2-latest-archive-keyring.gpg
40-
41-
- name: Setup new ros2 apt source
42-
run: |
43-
sudo apt-get update && sudo apt-get install curl
44-
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}')
45-
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"
46-
sudo apt install /tmp/ros2-apt-source.deb
47-
4835
- name: Restore branch
4936
if: github.event.pull_request.merged == true
5037
uses: levonet/action-restore-branch@master

0 commit comments

Comments
 (0)