From 49ab1b7d95a10725a00e8a3de783f4d8ab4f884f Mon Sep 17 00:00:00 2001 From: Vincent <46542431+VincidaB@users.noreply.github.com> Date: Tue, 19 Dec 2023 00:15:53 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87f2475..7f419d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: ROS 2 Workspace Action +name: Humble Source Build # You may pin to the exact commit or the version. # uses: ros/tooling-setup-actions/setup-ros@v1 @@ -8,13 +8,17 @@ on: - ezBot-ROS_ws jobs: - build: + build_docker: runs-on: ubuntu-latest container: image: ubuntu:jammy steps: - - name: ROS industrial_ci - # You may pin to the exact commit or the version. - # uses: 2lambda123/industrial_ci@1425bd2140a5cad7c7b831e43c443336783cc449 - uses: 2lambda123/industrial_ci@0.10.0 - + - uses: ros-tooling/setup-ros@v0.7 + with: + required-ros-distributions: humble + - run: "source /opt/ros/humble/setup.bash && ros2 run --help" + - run: "source /opt/ros/noetic/setup.bash && rosnode --help" + - uses: ros-tooling/action-ros-ci@v0.3 + with: + package-name: my_package + target-ros2-distro: humble