mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Remove Windows Server 2016 related code from the repository (#5994)
This commit is contained in:
committed by
GitHub
parent
493f3c3ee1
commit
8c24b03a8d
@@ -20,10 +20,6 @@ Choco-Install -PackageName hub
|
||||
# Add to PATH
|
||||
Add-MachinePathItem "C:\Program Files\Git\bin"
|
||||
|
||||
if (Test-IsWin16) {
|
||||
$env:Path += ";$env:ProgramFiles\Git\usr\bin\"
|
||||
}
|
||||
|
||||
# Add well-known SSH host keys to ssh_known_hosts
|
||||
ssh-keyscan -t rsa,ecdsa,ed25519 github.com >> "C:\Program Files\Git\etc\ssh\ssh_known_hosts"
|
||||
ssh-keyscan -t rsa ssh.dev.azure.com >> "C:\Program Files\Git\etc\ssh\ssh_known_hosts"
|
||||
|
||||
Reference in New Issue
Block a user