mirror of
https://github.com/actions/setup-python.git
synced 2026-05-13 16:09:52 +00:00
chore: build
This commit is contained in:
Vendored
+1
-1
@@ -87855,7 +87855,7 @@ async function cleanPipPackages() {
|
|||||||
// Use a shell so we can pipe the output of pip freeze into xargs
|
// Use a shell so we can pipe the output of pip freeze into xargs
|
||||||
await (0, exec_1.exec)('bash', [
|
await (0, exec_1.exec)('bash', [
|
||||||
'-c',
|
'-c',
|
||||||
'test $(python3 -m pip freeze | wc -l) -gt 0 && python3 -m pip freeze | xargs python3 -m pip uninstall -y'
|
'test $(python -m pip freeze | wc -l) -gt 0 && python -m pip freeze | xargs python -m pip uninstall -y || true'
|
||||||
]);
|
]);
|
||||||
core.info('Successfully cleaned up pip packages');
|
core.info('Successfully cleaned up pip packages');
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
@@ -96746,7 +96746,7 @@ async function cleanPipPackages() {
|
|||||||
// Use a shell so we can pipe the output of pip freeze into xargs
|
// Use a shell so we can pipe the output of pip freeze into xargs
|
||||||
await (0, exec_1.exec)('bash', [
|
await (0, exec_1.exec)('bash', [
|
||||||
'-c',
|
'-c',
|
||||||
'test $(python3 -m pip freeze | wc -l) -gt 0 && python3 -m pip freeze | xargs python3 -m pip uninstall -y || true'
|
'test $(python -m pip freeze | wc -l) -gt 0 && python -m pip freeze | xargs python -m pip uninstall -y || true'
|
||||||
]);
|
]);
|
||||||
core.info('Successfully cleaned up pip packages');
|
core.info('Successfully cleaned up pip packages');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user