From b816909b8437efb60951553bb82fd79af28f1b36 Mon Sep 17 00:00:00 2001 From: Vincent <46542431+VincidaB@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:23:33 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30e6d7f..344cd1b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,13 +1,25 @@ name: ROS 2 Workspace Action # You may pin to the exact commit or the version. -uses: ichiro-its/ros2-ws-action@v1.0.1 -with: - # The ROS 2 distribution to be used - distro: humble # optional, default is iron +# uses: ros/tooling-setup-actions/setup-ros@v1 +name: ROS 2 Workspace Build + on: push: branches: - - master + - ezBot-ROS_ws + +jobs: + build: + runs-on: ubuntu-latest + steps: - - name: Deploy app - run: exit 0 + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up ROS + uses: ros/tooling-setup-actions/setup-ros@v1 + with: + ros-distro: humble + + - name: Build workspace + run: colcon build