From fd24bf64f5133dfc8c677ca32a54249298f8b2a2 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Tue, 6 Aug 2024 14:51:27 -0700 Subject: [PATCH] Don't avoid failing if rosdep install fails Signed-off-by: Christophe Bedard --- dist/index.js | 2 +- src/action-ros-ci.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 7ba2e054..851371fe 100644 --- a/dist/index.js +++ b/dist/index.js @@ -30878,7 +30878,7 @@ function installRosdeps(packageSelection, skipKeys, workspaceDir, options, ros1D # suppress errors from unresolved install keys to preserve backwards compatibility # due to difficulty reading names of some non-catkin dependencies in the ros2 core # see https://index.ros.org/doc/ros2/Installation/Foxy/Linux-Development-Setup/#install-dependencies-using-rosdep - rosdep install -r --from-paths $package_paths --ignore-src --skip-keys "rti-connext-dds-5.3.1 rti-connext-dds-6.0.1 ${filterNonEmptyJoin(skipKeys)}" --rosdistro $DISTRO -y || true`; + rosdep install -r --from-paths $package_paths --ignore-src --skip-keys "rti-connext-dds-5.3.1 rti-connext-dds-6.0.1 ${filterNonEmptyJoin(skipKeys)}" --rosdistro $DISTRO -y`; fs_1.default.writeFileSync(scriptPath, scriptContent, { mode: 0o766 }); let exitCode = 0; if (ros1Distro) { diff --git a/src/action-ros-ci.ts b/src/action-ros-ci.ts index 60c4ede4..a3c1630e 100644 --- a/src/action-ros-ci.ts +++ b/src/action-ros-ci.ts @@ -202,7 +202,7 @@ async function installRosdeps( # see https://index.ros.org/doc/ros2/Installation/Foxy/Linux-Development-Setup/#install-dependencies-using-rosdep rosdep install -r --from-paths $package_paths --ignore-src --skip-keys "rti-connext-dds-5.3.1 rti-connext-dds-6.0.1 ${filterNonEmptyJoin( skipKeys, - )}" --rosdistro $DISTRO -y || true`; + )}" --rosdistro $DISTRO -y`; fs.writeFileSync(scriptPath, scriptContent, { mode: 0o766 }); let exitCode = 0;