Skip to content

Commit

Permalink
feat: add ROS 2 Workspace Build sub-action
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Nov 2, 2023
1 parent c8bb5a2 commit 880d3e0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build/action.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 880d3e0

Please sign in to comment.