mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Add support for Windows Server Standard Evaluation
blacksmith.sh runners use "Windows Server 2025 Standard Evaluation".
This commit is contained in:
committed by
Benoit Daloze
parent
19a43a6a24
commit
b3cff1b264
@@ -281,7 +281,7 @@ export function getOSNameVersionArch() {
|
||||
|
||||
function findWindowsVersion() {
|
||||
const version = os.version()
|
||||
const match = version.match(/^Windows(?: Server)? (\d+) (?:Datacenter|Enterprise)/)
|
||||
const match = version.match(/^Windows(?: Server)? (\d+) (?:Standard|Datacenter|Enterprise)/)
|
||||
if (match) {
|
||||
return match[1]
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user