From 8e52272b28387e2f2626084f9a45f9a2bd2dd27c Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 23 Jan 2021 15:21:24 +0700 Subject: [PATCH] ci checkout sub-submodule --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0abe2e91..4f18790a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,12 +82,11 @@ jobs: # Cannot do submodule checkout here since LWIP's git server cannot checkout unadventised commits (it must use tags) submodules: 'true' -# - name: Checkout Submodules -# run: | -# git submodule sync --recursive - # Special case LWIP since GNU's Savannah can't do shallow checkout of non-tagged commits -# git submodule update --init --recursive lib/lwip -# git submodule update --init --recursive --depth 1 + - name: Checkout Sub-Submodules + run: | + # some submodule has it own submodule that need to be fetched as well + git submodule update --init --recursive hw/mcu/microchip + #git submodule update --init --recursive hw/mcu/microchip - name: Build run: |