-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac72657
commit 1a333fc
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,15 @@ jobs: | |
steps: | ||
- uses: ros-tooling/[email protected] | ||
- name: Temporary fix for rolling by setting the ROSDISTRO_INDEX_URL | ||
# see https://docs.ros.org/en/rolling/How-To-Guides/Using-Custom-Rosdistro.html | ||
# TODO(anyone): remove/deactivate after rolling is fixed on noble | ||
run: | | ||
if [[ "${{ inputs.ros_distro }}" == "rolling" ]]; then | ||
sudo sed -i "s|ros\/rosdistro\/master|ros\/rosdistro\/rolling\/2024-02-28|" /etc/ros/rosdep/sources.list.d/20-default.list | ||
echo "ROSDISTRO_INDEX_URL=https://raw.githubusercontent.com/ros/rosdistro/rolling/2024-02-28/index-v4.yaml" >> $GITHUB_ENV | ||
fi | ||
- name: Test some rosdep commands | ||
- name: Test some rosdep commands to see if the step above worked | ||
# TODO(anyone): remove/deactivate after rolling is fixed on noble | ||
run: | | ||
rosdep update | ||
echo "ROS_DISTRO: $ROS_DISTRO" | ||
|