From 880d3e0b6fcfa76116bb3b9ce603fff4d22496be Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Thu, 2 Nov 2023 12:50:42 +0700 Subject: [PATCH] feat: add ROS 2 Workspace Build sub-action --- build/action.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 build/action.yaml diff --git a/build/action.yaml b/build/action.yaml new file mode 100644 index 0000000..4baa5d4 --- /dev/null +++ b/build/action.yaml @@ -0,0 +1,18 @@ +name: ROS 2 Workspace Build +description: Build packages in a ROS 2 workspace +author: ICHIRO ITS +branding: + icon: activity + color: gray-dark +inputs: + ros2-distro: + description: The ROS 2 distribution to be used. + required: false + default: iron +runs: + using: composite + steps: + - shell: bash + run: | + source /opt/ros/${{ inputs.ros2-distro }}/setup.bash + colcon build --event-handlers console_cohesion+ --cmake-args