mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
Don't attempt to update pip for graalpy
This commit is contained in:
parent
b69593376d
commit
b271e81dd1
1 changed files with 2 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue