From 1f43945bac2a511f7fca3d32002aec38dea61aad Mon Sep 17 00:00:00 2001 From: Ryohei Sasaki Date: Sun, 26 Nov 2023 17:33:06 +0900 Subject: [PATCH] Fix CI --- .github/workflows/main.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 942d701..940c405 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,11 @@ jobs: runs-on: ubuntu-22.04 container: ros:humble-ros-core steps: + - name: Install Git + run: | + apt-get update + apt-get install -y git + shell: bash - uses: actions/checkout@v2 with: submodules: true @@ -26,8 +31,7 @@ jobs: shell: bash - name: Install dependencies run: | - apt-get update - apt-get install -y git python3-rosdep + apt-get install -y python3-rosdep rosdep init rosdep update cd ~/ros2_ws/src @@ -36,7 +40,6 @@ jobs: - name: Build packages run: | source /opt/ros/humble/setup.bash - apt-get update apt-get install -y python3-colcon-common-extensions cd ~/ros2_ws colcon build