ros-controls / ros2_control_ci

This repository holds reusable workflows for CI of the ros2_control framework.
https://control.ros.org
Apache License 2.0
2 stars 1 forks source link

Add target_workspace to ICI workflow #3

Closed fmauch closed 6 months ago

fmauch commented 6 months ago

This should allow to optionally change the TARGET_WORKSPACE variable for ICI.

As discussed in #2

According to this it should work that way since

$ export TARGET_WORKSPACE=""
$ export TARGET_REPO_PATH="hello"
$ export TARGET_WORKSPACE=${TARGET_WORKSPACE:-$TARGET_REPO_PATH}
$ echo $TARGET_WORKSPACE
hello
$ export TARGET_WORKSPACE="world"
$ export TARGET_WORKSPACE=${TARGET_WORKSPACE:-$TARGET_REPO_PATH}
$ echo $TARGET_WORKSPACE
world
fmauch commented 6 months ago

Note: Testing the workflow here