git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 5/6] ci: bump git-for-windows/setup-git-for-windows-sdk from v1 to v2

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Apr 30, 2026, 07:34 UTC
Message-ID
<c6e8df1eff329302ac080f70d4db6d9fdd1ae8ae.1777534500.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.2097.v3.git.1777534500.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>

The v1 of `git-for-windows/setup-git-for-windows-sdk` runs on Node.js 20, which GitHub is phasing out of the Actions runners. v2 moves the action to Node.js 24 so that the CI jobs relying on a Git for Windows SDK keep working once Node.js 20 is removed.

The risk is very low: v2 contains no functional changes to the SDK setup itself, only the runtime upgrade. The action still provisions the same minimal SDK and exposes the same outputs. The sole precondition is a recent Actions Runner (>= 2.327.1), which the github.com-hosted runners already satisfy.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 .github/workflows/coverity.yml | 2 +-
 .github/workflows/main.yml     | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 89bef26727..58a78f1eb3 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -41,7 +41,7 @@ jobs:
       - uses: actions/checkout@v6
       - name: install minimal Git for Windows SDK
         if: contains(matrix.os, 'windows')
-        uses: git-for-windows/setup-git-for-windows-sdk@v1
+        uses: git-for-windows/setup-git-for-windows-sdk@v2
       - run: ci/install-dependencies.sh
         if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
         env:
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0ea266f27c..3da5326f0b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -113,7 +113,7 @@ jobs:
       cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
     steps:
     - uses: actions/checkout@v6
-    - uses: git-for-windows/setup-git-for-windows-sdk@v1
+    - uses: git-for-windows/setup-git-for-windows-sdk@v2
     - name: build
       shell: bash
       env:
@@ -147,7 +147,7 @@ jobs:
     - name: extract tracked files and build artifacts
       shell: bash
       run: tar xf artifacts.tar.gz && tar xf tracked.tar.gz
-    - uses: git-for-windows/setup-git-for-windows-sdk@v1
+    - uses: git-for-windows/setup-git-for-windows-sdk@v2
     - name: test
       shell: bash
       run: . /etc/profile && ci/run-test-slice.sh $((${{matrix.nr}} + 1)) 10
@@ -174,7 +174,7 @@ jobs:
       cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
     steps:
     - uses: actions/checkout@v6
-    - uses: git-for-windows/setup-git-for-windows-sdk@v1
+    - uses: git-for-windows/setup-git-for-windows-sdk@v2
     - name: initialize vcpkg
       uses: actions/checkout@v6
       with:
@@ -224,7 +224,7 @@ jobs:
       group: vs-test-${{ matrix.nr }}-${{ github.ref }}
       cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
     steps:
-    - uses: git-for-windows/setup-git-for-windows-sdk@v1
+    - uses: git-for-windows/setup-git-for-windows-sdk@v2
     - name: download tracked files and build artifacts
       uses: actions/download-artifact@v8
       with:
-- 
gitgitgadget
Previous: Johannes Schindelin via GitGitGadgetNext: Johannes Schindelin via GitGitGadget
Message 17 of 18 in “ci: GitHub Actions updates (brought to you by Dependabot)”
  1. 0/4 ci: GitHub Actions updates (brought to you by Dependabot)Johannes Schindelin via GitGitGadget, Apr 21, 2026
  2. 1/4 ci: bump microsoft/setup-msbuild from v2 to v3Johannes Schindelin via GitGitGadget, Apr 21, 2026
  3. 2/4 ci: bump actions/{upload,download}-artifact to v7 and v8Johannes Schindelin via GitGitGadget, Apr 21, 2026
  4. 3/4 ci: bump actions/github-script from v8 to v9Johannes Schindelin via GitGitGadget, Apr 21, 2026
  5. 4/4 ci: bump actions/checkout from v5 to v6Johannes Schindelin via GitGitGadget, Apr 21, 2026
  6. 0/5 ci: GitHub Actions updates (brought to you by Dependabot)Johannes Schindelin via GitGitGadget, Apr 25, 2026
  7. 1/5 ci: bump microsoft/setup-msbuild from v2 to v3Johannes Schindelin via GitGitGadget, Apr 25, 2026
  8. 2/5 ci: bump actions/{upload,download}-artifact to v7 and v8Johannes Schindelin via GitGitGadget, Apr 25, 2026
  9. 3/5 ci: bump actions/github-script from v8 to v9Johannes Schindelin via GitGitGadget, Apr 25, 2026
  10. 4/5 ci: bump actions/checkout from v5 to v6Johannes Schindelin via GitGitGadget, Apr 25, 2026
  11. 5/5 l10n: bump mshick/add-pr-comment from v2 to v3Johannes Schindelin via GitGitGadget, Apr 25, 2026
  12. 0/6 ci: GitHub Actions updates (brought to you by Dependabot)Johannes Schindelin via GitGitGadget, Apr 30, 2026
  13. 1/6 ci: bump microsoft/setup-msbuild from v2 to v3Johannes Schindelin via GitGitGadget, Apr 30, 2026
  14. 3/6 ci: bump actions/github-script from v8 to v9Johannes Schindelin via GitGitGadget, Apr 30, 2026
  15. 2/6 ci: bump actions/{upload,download}-artifact to v7 and v8Johannes Schindelin via GitGitGadget, Apr 30, 2026
  16. 4/6 ci: bump actions/checkout from v5 to v6Johannes Schindelin via GitGitGadget, Apr 30, 2026
  17. 5/6 ci: bump git-for-windows/setup-git-for-windows-sdk from v1 to v2Johannes Schindelin via GitGitGadget, Apr 30, 2026
  18. 6/6 l10n: bump mshick/add-pr-comment from v2 to v3Johannes Schindelin via GitGitGadget, Apr 30, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.