Skip to content

Commit 9b0da07

Browse files
authored
feat: add option for settings the base paths to build (#353)
Signed-off-by: GitHub Action <esteve.fernandez@tier4.jp>
1 parent 51fa205 commit 9b0da07

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

colcon-build/action.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ inputs:
4949
description: Will use the local mixin repository to avoid rate limits
5050
default: true
5151
required: false
52+
base-paths:
53+
description: List of base paths to consider for the build
54+
default: .
55+
required: false
5256

5357
runs:
5458
using: composite
@@ -190,7 +194,8 @@ runs:
190194
--event-handlers console_cohesion+ \
191195
--packages-above-and-dependencies ${{ inputs.target-packages }} \
192196
--cmake-args -DCMAKE_BUILD_TYPE=${{ inputs.cmake-build-type }} \
193-
--mixin coverage-gcc coverage-pytest compile-commands
197+
--mixin coverage-gcc coverage-pytest compile-commands \
198+
--base-paths ${{ inputs.base-paths }}
194199
mv /etc/nsswitch.conf.bak /etc/nsswitch.conf
195200
cat /etc/nsswitch.conf
196201
shell: bash

0 commit comments

Comments
 (0)