diff --git a/.github/workflows/reusable-industrial-ci-with-cache.yml b/.github/workflows/reusable-industrial-ci-with-cache.yml index 96fbd4d..663a49a 100644 --- a/.github/workflows/reusable-industrial-ci-with-cache.yml +++ b/.github/workflows/reusable-industrial-ci-with-cache.yml @@ -13,7 +13,12 @@ on: upstream_workspace: description: 'UPSTREAM_WORKSPACE variable for industrial_ci. Usually path to local .repos file.' - required: true + required: false + type: string + target_workspace: + description: 'TARGET_WORKSPACE variable for industrial_ci. If not provided, defaults to the current repo.' + required: false + default: "" type: string downstream_workspace: description: 'DOWNSTREAM_WORKSPACE variable for industrial_ci. If set, downstream packages will be built and tested against this repo' @@ -88,6 +93,7 @@ jobs: - uses: 'ros-industrial/industrial_ci@master' env: UPSTREAM_WORKSPACE: ${{ inputs.upstream_workspace }} + TARGET_WORKSPACE: ${{ inputs.target_workspace }} DOWNSTREAM_WORKSPACE: ${{ inputs.downstream_workspace }} ROS_DISTRO: ${{ inputs.ros_distro }} ROS_REPO: ${{ inputs.ros_repo }}