From 84b5e6ed33128f29f4e8b360d307ac26b0d45f5b Mon Sep 17 00:00:00 2001 From: Isabel Paredes Date: Mon, 9 Oct 2023 10:07:38 -0600 Subject: [PATCH] Add option to clone middleware --- action.yml | 8 ++++++++ repos.yaml | 4 ---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 45cbd3d..729fb14 100644 --- a/action.yml +++ b/action.yml @@ -24,6 +24,10 @@ inputs: type: string default: "package" required: true + rmw_wasm: + description: "Clone rmw_wasm middleware" + type: boolean + default: true runs: using: composite @@ -57,6 +61,10 @@ runs: vcs import --input https://raw.githubusercontent.com/ros2/ros2/${{ inputs.ros_distro }}/ros2.repos ros-workspace/src vcs import --input ${{ github.action_path }}/repos.yaml ros-workspace/src + - name: Clone rmw_wasm middleware + if: ${{ inputs.rmw_wasm }} + run: git clone https://github.com/ihuicatl/rmw_wasm.git ros-worskpace/src/rmw_wasm + - name: Remove unsupported packages shell: bash -eux {0} run: | diff --git a/repos.yaml b/repos.yaml index 550d397..aa2d52c 100644 --- a/repos.yaml +++ b/repos.yaml @@ -1,8 +1,4 @@ repositories: - rmw_wasm: - type: git - url: https://github.com/ihuicatl/rmw_wasm.git - version: main dynmsg: type: git url: https://github.com/osrf/dynamic_message_introspection.git