Skip to content

Commit 003cb38

Browse files
authored
Fix CI (#60)
1 parent 99b3d98 commit 003cb38

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,27 @@ jobs:
1212
container: microros/base:foxy
1313

1414
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
path: urosagent
18+
1519
- name: Download dependencies
1620
run: |
21+
apt update
1722
cd /uros_ws
18-
. /opt/ros/foxy/setup.sh
23+
. /opt/ros/$ROS_DISTRO/setup.sh
1924
. install/local_setup.sh
2025
rosdep update
2126
ros2 run micro_ros_setup create_agent_ws.sh
22-
23-
- uses: actions/checkout@v2
24-
with:
25-
path: src/uros/micro-ROS-Agent
27+
28+
- name: Patch branch
29+
run: |
30+
rm -rf /uros_ws/src/uros/micro-ROS-Agent/*
31+
cp -R urosagent/* /uros_ws/src/uros/micro-ROS-Agent/
2632
2733
- name: Build
2834
run: |
2935
cd /uros_ws
30-
. /opt/ros/foxy/setup.sh
36+
. /opt/ros/$ROS_DISTRO/setup.sh
3137
. install/local_setup.sh
3238
ros2 run micro_ros_setup build_agent.sh

0 commit comments

Comments
 (0)