This commit is contained in:
Jean-Yves LENHOF 2025-11-18 12:08:16 +01:00
parent 360b5a6026
commit 5f9011e653

2
dist/setup/index.js vendored
View File

@ -96746,7 +96746,7 @@ async function cleanPipPackages() {
// Use a shell so we can pipe the output of pip freeze into xargs
await (0, exec_1.exec)('bash', [
'-c',
'test $(python3 -m pip freeze | wc -l) -gt 0 && python3 -m pip freeze | xargs python3 -m pip uninstall -y'
'test $(python3 -m pip freeze | wc -l) -gt 0 && python3 -m pip freeze | xargs python3 -m pip uninstall -y || true'
]);
core.info('Successfully cleaned up pip packages');
}