action checkout submodule=true

This commit is contained in:
hathach 2021-01-23 14:34:06 +07:00
parent a15f02dcc1
commit 8af7ae867d
1 changed files with 6 additions and 6 deletions

View File

@ -80,14 +80,14 @@ jobs:
uses: actions/checkout@v2
with:
# Cannot do submodule checkout here since LWIP's git server cannot checkout unadventised commits (it must use tags)
submodules: 'false'
submodules: 'true'
- name: Checkout Submodules
run: |
git submodule sync --recursive
# - 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
# git submodule update --init --recursive lib/lwip
# git submodule update --init --recursive --depth 1
- name: Build
run: |