From a100f5ddcac1fe687d98df4aa2de30fff22f0b3a Mon Sep 17 00:00:00 2001 From: Nana Sakisaka <1901813+saki7@users.noreply.github.com> Date: Thu, 5 Feb 2026 01:25:26 +0900 Subject: [PATCH 1/2] Run Windows workflow on self-hosted runner --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad2f74254..9eea933ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: needs: changes if: ${{ needs.changes.outputs.x4_component != '[]' && needs.changes.outputs.x4_component != '' }} - runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }} + runs-on: ${{ matrix.os.name == 'windows' && 'self-hosted' || format('{0}-{1}', matrix.os.name, matrix.os.version) }} strategy: fail-fast: false From f7c280d5c52fc0746d065b221378ba22d2ec58b8 Mon Sep 17 00:00:00 2001 From: Nana Sakisaka <1901813+saki7@users.noreply.github.com> Date: Thu, 5 Feb 2026 02:09:40 +0900 Subject: [PATCH 2/2] Checkout submodules manually --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9eea933ae..707387af9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,8 +102,15 @@ jobs: steps: - uses: actions/checkout@v5 - with: - submodules: recursive + # with: + # submodules: recursive + # ^^^ does not work for self-hosted Windows runner + + - name: Checkout submodules + run: | + git submodule sync --recursive + git -c protocol.version=2 submodule update --init --force --depth=1 --recursive + git submodule foreach --recursive git config --local gc.auto 0 - name: Initialize Ubuntu if: matrix.os.name == 'ubuntu'