mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 05:48:07 +00:00
Remove Windows Server 2016 related code from the repository (#5994)
This commit is contained in:
committed by
GitHub
parent
493f3c3ee1
commit
8c24b03a8d
@@ -15,9 +15,5 @@ C:\msys64\usr\bin\bash.exe -leo pipefail %*
|
||||
# gitbash <--> C:\Program Files\Git\bin\bash.exe
|
||||
New-Item -ItemType SymbolicLink -Path "$shellPath\gitbash.exe" -Target "$env:ProgramFiles\Git\bin\bash.exe" | Out-Null
|
||||
|
||||
# WSL is available on Windows Server 2019 and Windows Server 2022
|
||||
if (-not (Test-IsWin16))
|
||||
{
|
||||
# wslbash <--> C:\Windows\System32\bash.exe
|
||||
New-Item -ItemType SymbolicLink -Path "$shellPath\wslbash.exe" -Target "$env:SystemRoot\System32\bash.exe" | Out-Null
|
||||
}
|
||||
# wslbash <--> C:\Windows\System32\bash.exe
|
||||
New-Item -ItemType SymbolicLink -Path "$shellPath\wslbash.exe" -Target "$env:SystemRoot\System32\bash.exe" | Out-Null
|
||||
|
||||
Reference in New Issue
Block a user