From 828989bcc1762dde80391809c48b21ca4d1bf987 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 19 Dec 2024 23:46:48 -0800 Subject: [PATCH] Add support for Windows 2025 in GHA scripts --- scripts/github-actions/generate.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/github-actions/generate.sh b/scripts/github-actions/generate.sh index 12aa9d68..235bb244 100755 --- a/scripts/github-actions/generate.sh +++ b/scripts/github-actions/generate.sh @@ -61,7 +61,9 @@ for tag in $tags; do { name: .name, os: ( - if (.constraints | contains(["windowsservercore-ltsc2022"])) or (.constraints | contains(["nanoserver-ltsc2022"])) then + if (.constraints | contains(["windowsservercore-ltsc2025"])) or (.constraints | contains(["nanoserver-ltsc2025"])) then + "windows-2025" + elif (.constraints | contains(["windowsservercore-ltsc2022"])) or (.constraints | contains(["nanoserver-ltsc2022"])) then "windows-2022" elif (.constraints | contains(["windowsservercore-1809"])) or (.constraints | contains(["nanoserver-1809"])) then "windows-2019"