mirror of
https://github.com/actions/setup-python.git
synced 2025-04-19 19:33:29 +00:00
Don't attempt to update pip for graalpy
This commit is contained in:
parent
b69593376d
commit
b271e81dd1
@ -148,13 +148,9 @@ async function createGraalPySymlink(
|
||||
}
|
||||
|
||||
async function installPip(pythonLocation: string) {
|
||||
core.info('Installing and updating pip');
|
||||
core.info("Installing pip (GraalPy doesn't update pip because it uses a patched version of pip)");
|
||||
const pythonBinary = path.join(pythonLocation, 'python');
|
||||
await exec.exec(`${pythonBinary} -m ensurepip`);
|
||||
|
||||
await exec.exec(
|
||||
`${pythonLocation}/python -m pip install --ignore-installed pip`
|
||||
);
|
||||
await exec.exec(`${pythonBinary} -m ensurepip --default-pip`);
|
||||
}
|
||||
|
||||
export function graalPyTagToVersion(tag: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user