svn commit: r1933957 - subversion/trunk/.github/workflows

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <177826311278.270653.5163625291916687481@svn03-he-fi>
Author: dsahlberg
Date: Fri May  8 17:58:32 2026
New Revision: 1933957

Log:
* .github/workflows/cmake.yml: Attempt to fix Window build on GitHub Actions.

Shamelessly borrowed from r1933912 in APR (by Ivan)

Modified:
   subversion/trunk/.github/workflows/cmake.yml

Modified: subversion/trunk/.github/workflows/cmake.yml
==============================================================================
--- subversion/trunk/.github/workflows/cmake.yml	Fri May  8 17:19:57 2026	(r1933956)
+++ subversion/trunk/.github/workflows/cmake.yml	Fri May  8 17:58:32 2026	(r1933957)
@@ -99,8 +99,8 @@ jobs:
       - name: Prepare Environment (Windows)
         if: runner.os == 'Windows'
         run: |
-          $root = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
-          Import-Module "$root\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
+          $root = &(Join-Path ${env:ProgramFiles(x86)} "\Microsoft Visual Studio\Installer\vswhere.exe") -property installationpath -latest
+          Import-Module (Join-Path $root "Common7\Tools\Microsoft.VisualStudio.DevShell.dll")
           Enter-VsDevShell -VsInstallPath $root -DevCmdArguments "-arch=${{ matrix.arch }}"
 
           ls env: | foreach { "$($_.Name)=$($_.Value)" >> $env:GITHUB_ENV }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.