Skip to content

Commit 45b3b24

Browse files
Fix variable interpolation in YAML workflow
1 parent d6075d2 commit 45b3b24

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
- name: install workspace dependencies
3535
run: |
3636
sudo apt-get update
37-
sudo apt-get install -y ros-${ROS_DISTRO}-ros-base
38-
source /opt/ros/${ROS_DISTRO}/setup.bash
39-
rosdep update --rosdistro ${ROS_DISTRO}
37+
sudo apt-get install -y ros-$ROS_DISTRO-ros-base
38+
source /opt/ros/$ROS_DISTRO/setup.bash
39+
rosdep update --rosdistro $ROS_DISTRO
4040
rosdep install --from-paths src --ignore-src -r -y
4141
4242
- name: build workspace
4343
run: |
44-
source /opt/ros/${ROS_DISTRO}/setup.bash
44+
source /opt/ros/$ROS_DISTRO/setup.bash
4545
colcon build --symlink-install --continue-on-error

0 commit comments

Comments
 (0)