From 3a279e60e2ce2c62e762a4c041d74866d942104b Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Tue, 30 Apr 2024 00:53:23 -0700 Subject: [PATCH] Make 'pip3 freeze' optional (#868) 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 6ccdf315..7ae0ae82 100644 --- a/dist/index.js +++ b/dist/index.js @@ -11610,7 +11610,7 @@ done`; yield checkRosdeps(buildPackageSelection, rosdepSkipKeysSelection, rosWorkspaceDir, options, targetRos1Distro, targetRos2Distro); } // Print list of Python packages and their version - yield execShellCommand(["pip3", "freeze"], options); + yield execShellCommand(["pip3 freeze || true"], options); if (colconDefaults.includes(`"mixin"`) && colconMixinRepo !== "") { yield execShellCommand([`colcon`, `mixin`, `add`, `default`, `${colconMixinRepo}`], options, false); yield execShellCommand([`colcon`, `mixin`, `update`, `default`], options, false); diff --git a/src/action-ros-ci.ts b/src/action-ros-ci.ts index 62e80578..ba41962d 100644 --- a/src/action-ros-ci.ts +++ b/src/action-ros-ci.ts @@ -657,7 +657,7 @@ done`; } // Print list of Python packages and their version - await execShellCommand(["pip3", "freeze"], options); + await execShellCommand(["pip3 freeze || true"], options); if (colconDefaults.includes(`"mixin"`) && colconMixinRepo !== "") { await execShellCommand(