]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ci: bump microsoft/setup-msbuild from v1 to v2
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 20 Aug 2024 14:31:09 +0000 (14:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Aug 2024 15:24:27 +0000 (08:24 -0700)
The main benefit: The new version uses a node.js version that is not yet
deprecated.

Links:
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1...v2)

This patch was originally by GitHub's Dependabot, but I cannot attribute
that bot properly because it has no dedicated email address. Probably
because it hasn't reached legal age yet, or something.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml

index 13cc0fe8077612d79409c479a339b772e2151612..85e5767aae69ea9e3af3b05ea0f3d36cd3bdec3e 100644 (file)
@@ -190,7 +190,7 @@ jobs:
         Expand-Archive compat.zip -DestinationPath . -Force
         Remove-Item compat.zip
     - name: add msbuild to PATH
-      uses: microsoft/setup-msbuild@v1
+      uses: microsoft/setup-msbuild@v2
     - name: copy dlls to root
       shell: cmd
       run: compat\vcbuild\vcpkg_copy_dlls.bat release