mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
Remove PyPy symlink workaround from Windows images (#2744)
This commit is contained in:
@@ -67,15 +67,6 @@ function Install-PyPy
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://github.com/actions/setup-python/blob/master/src/find-python.ts
|
|
||||||
# https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/UsePythonVersionV0/usepythonversion.ts
|
|
||||||
# // For PyPy, Windows uses 'bin', not 'Scripts'.
|
|
||||||
# const _binDir = path.join(installDir, 'bin');
|
|
||||||
# PyPy v7.3.1 or higher creates only Scripts folder therefore to preserve back compatibility with UsePythonVersionV0 task
|
|
||||||
# We should create a Scripts -> bin symlink
|
|
||||||
Write-Host "Symbolic link created for '$pypyArchPath\Scripts' <<===>> '$pypyArchPath\bin'"
|
|
||||||
New-Item -Path "$pypyArchPath\bin" -ItemType SymbolicLink -Value "$pypyArchPath\Scripts" | Out-Null
|
|
||||||
|
|
||||||
Write-Host "Create complete file"
|
Write-Host "Create complete file"
|
||||||
New-Item -ItemType File -Path $pypyVersionPath -Name "$architecture.complete" | Out-Null
|
New-Item -ItemType File -Path $pypyVersionPath -Name "$architecture.complete" | Out-Null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user