From 0bb5e36585704aa9aaba546ea1e5886e3c6f7e9a Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 8 Sep 2024 16:01:06 +0200 Subject: [PATCH] Don't build *-uwp projects of icu4c (GH-10) These are superfluous for PHP, and apparently may cause issues[1]. [1] --- .github/workflows/icu4c.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/icu4c.yml b/.github/workflows/icu4c.yml index aa4d6a4..677e03f 100644 --- a/.github/workflows/icu4c.yml +++ b/.github/workflows/icu4c.yml @@ -38,6 +38,10 @@ jobs: toolset: ${{steps.virtuals.outputs.toolset}} - name: Setup msbuild uses: microsoft/setup-msbuild@v2 + - name: Remove UWP projects + run: | + cd icu4c\source\allinone + for /f %%i in ('dotnet sln allinone.sln list ^| findstr _uwp') do @dotnet sln allinone.sln remove %%i - name: Build icu4c run: cd icu4c && msbuild /p:Configuration=Release;Platform=${{steps.virtuals.outputs.msarch}};PlatformToolset=${{steps.virtuals.outputs.msts}};WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}} source\allinone\allinone.sln - name: Install icu4c