From 2557b2f3f47af8304123886dbf69c7d5bb0b2eb5 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 12 Sep 2025 23:32:42 -0700 Subject: [PATCH] Update action.yml Provide a compatibility shim for older releases. --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index d66e960..5ceaa6e 100644 --- a/action.yml +++ b/action.yml @@ -231,6 +231,10 @@ runs: $SwiftRoot = Split-Path -Path (Split-Path -Path (Get-Command swift).Source -Parent) -Parent $ModuleDefinitions = @{ + "(Legacy) WinSDK Module Map" = @{ + URL = "https://raw.githubusercontent.com/swiftlang/swift/main/stdlib/public/Platform/winsdk_um.modulemap"; + Destination = "$([IO.Path]::Combine("${env:SDKROOT}", "usr", "share", "winsdk.modulemap"))"; + }; "WinSDK(UM) Module Map" = @{ URL = "https://raw.githubusercontent.com/swiftlang/swift/main/stdlib/public/Platform/winsdk_um.modulemap"; Destination = "$([IO.Path]::Combine("${env:SDKROOT}", "usr", "share", "winsdk_um.modulemap"))";