rosinstall_generator: not found
Closed this issue · 1 comments
hongbo-miao commented
I have GitHub Actions which is
robot-operating-system-test:
name: Robot Operating System | Test
runs-on: ubuntu-22.04
container: ubuntu:jammy
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ROS
uses: ros-tooling/setup-ros@v0.4
with:
required-ros-distributions: humble
- name: Genearte deps.repos
run: |
rosinstall_generator turtle_robot \
--rosdistro=humble \
--deps-only \
--deps \
--upstream-development > /tmp/deps.repos
- name: Build and test
uses: ros-tooling/action-ros-ci@v0.2
with:
package-name: turtle_robot
target-ros2-distro: humble
vcs-repo-file-url: /tmp/deps.repos
However, it failed with log:
Run rosinstall_generator turtle_robot \
rosinstall_generator turtle_robot \
--rosdistro=humble \
--deps-only \
--deps \
--upstream-development > /tmp/deps.repos
shell: sh -e {0}
env:
LANG: en_US.UTF-8
/__w/_temp/[2](https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3826265979/jobs/6509918472#step:5:2)08018da-1b5c-4d74-ac6f-58[3](https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3826265979/jobs/6509918472#step:5:3)3f3[4](https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3826265979/jobs/6509918472#step:5:4)fb8da.sh: 1: rosinstall_generator: not found
Error: Process completed with exit code 12[7](https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3826265979/jobs/6509918472#step:5:7).
Any idea? Thanks!