proper regex for win 2022 (#4339)

This commit is contained in:
George Arama 2023-02-03 14:46:35 -08:00 committed by GitHub
parent 310790a5c1
commit cad042256b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ function getTargetOs {
return "win-2019"
}
if ($OsVMImage -match "^MMS2022$|^win-2022$") {
if ($OsVMImage -match "^MMS2022$|^win-2022$|^windows-2022$") {
return "win-2022"
}