diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 99c40a0..2d060b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: - path: catkin_ws/src/hik_camera_driver + path: ~/hik_camera_driver - name: Install ROS run: | sudo sh -c "echo \"deb http://packages.ros.org/ros/ubuntu $ROS_CI_DESKTOP main\" > /etc/apt/sources.list.d/ros-latest.list" @@ -35,6 +35,7 @@ jobs: sudo rosdep init rosdep update mkdir -p ~/catkin_ws/src + cp ~/hik_camera_driver ~/catkin_ws/src/hik_camera_driver cd ~/catkin_ws rosdep install --from-paths src --ignore-src -r -s # do a dry-run first rosdep install --from-paths src --ignore-src -r -y