]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ci: bump microsoft/setup-msbuild from v2 to v3
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 25 Apr 2026 10:58:36 +0000 (10:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 25 Apr 2026 11:18:14 +0000 (20:18 +0900)
The v2 of `microsoft/setup-msbuild` runs on Node.js 20, which GitHub
is phasing out of the Actions runners. v3 is a minimal release whose
only substantive change is moving the action's runtime to Node.js 24,
so that our Visual Studio build jobs keep working once Node.js 20 is
removed from the runners.

The risk of this bump is very low: v3 contains no functional changes
to the action itself -- it merely adds `msbuild.exe` to `PATH`, with
no change to command-line flags, inputs, outputs, or default tool
resolution. The only precondition is a recent-enough Actions Runner,
which the github.com-hosted runners already satisfy.

See also:

- Release notes: https://github.com/microsoft/setup-msbuild/releases
- Compare: https://github.com/microsoft/setup-msbuild/compare/v2...v3

Originally-authored-by: dependabot[bot] <support@github.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml

index 6f3d94e3a60cdd68d4026e40ec0a25b244d25b0a..0d3e0e42a4ee4a71db1133d2facf9ad911bb6c54 100644 (file)
@@ -186,7 +186,7 @@ jobs:
         repository: git/git
         definitionId: 9
     - name: add msbuild to PATH
-      uses: microsoft/setup-msbuild@v2
+      uses: microsoft/setup-msbuild@v3
     - name: copy dlls to root
       shell: cmd
       run: compat\vcbuild\vcpkg_copy_dlls.bat release