From fe76aa8a6ec227d2c5b8d7bac025c9c2289aa6a8 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 28 Sep 2023 04:24:04 +0900 Subject: [PATCH] Fix submodule update (#354) ``` error: Server does not allow request for unadvertised object f992bcc08219edb283d2ab31dd3871a4a0e8220e fatal: Fetched in submodule path 'src/config', but it did not contain f992bcc08219edb283d2ab31dd3871a4a0e8220e. Direct fetching of that commit failed. ``` --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb3bf37..8055b5b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,7 +48,7 @@ jobs: # bump depth (or even better, the submodule), in case of "error: # Server does not allow request for unadvertised object" in the # future. - - run: git submodule update --init --depth 16 --jobs 3 + - run: git submodule update --init --depth 32 --jobs 3 - name: Install ccache, ninja (macOS) run: brew install ccache ninja if: matrix.os == 'macos-latest' @@ -102,7 +102,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - run: git submodule update --init --depth 16 --jobs 3 + - run: git submodule update --init --depth 32 --jobs 3 - name: Build shell: msys2 {0} run: | @@ -135,7 +135,7 @@ jobs: with: fetch-depth: 0 - - run: git submodule update --init --depth 16 --jobs 3 + - run: git submodule update --init --depth 32 --jobs 3 - uses: docker/login-action@v2 with: