5
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2025-12-27 03:58:17 +00:00
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');
}