From 57d50fbc84c0e4b2044a6d53f725b5bbdf8b3e98 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 27 Sep 2023 11:50:13 +0900 Subject: [PATCH] Fix submodule update ``` 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 fb3bf377a..8055b5b4d 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: