File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 32
32
outputs :
33
33
new_version : ${{ steps.new_version.outputs.new_version }}
34
34
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
+
35
48
- name : Restore branch
36
49
if : github.event.pull_request.merged == true
37
50
uses : levonet/action-restore-branch@master
You can’t perform that action at this time.
0 commit comments