Skip to content

Commit a4a65a7

Browse files
authored
Added support for Windows Server 2022 to generate.sh (#33)
1 parent e7c3ecb commit a4a65a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/github-actions/generate.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ for tag in $tags; do
5858
{
5959
name: .name,
6060
os: (
61-
if (.constraints | contains(["windowsservercore-1809"])) or (.constraints | contains(["nanoserver-1809"])) then
61+
if (.constraints | contains(["windowsservercore-ltsc2022"])) or (.constraints | contains(["nanoserver-ltsc2022"])) then
62+
"windows-2022"
63+
elif (.constraints | contains(["windowsservercore-1809"])) or (.constraints | contains(["nanoserver-1809"])) then
6264
"windows-2019"
6365
elif .constraints | contains(["windowsservercore-ltsc2016"]) then
6466
"windows-2016"

0 commit comments

Comments
 (0)