diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d060b4..b69c6a7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - with: - 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,7 +33,7 @@ jobs: sudo rosdep init rosdep update mkdir -p ~/catkin_ws/src - cp ~/hik_camera_driver ~/catkin_ws/src/hik_camera_driver + cp $GITHUB_WORKSPACE ~/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