github: Synchronize submodules before checking them out

Ensures that we don't get stale remotes.
This commit is contained in:
lioncash 2022-01-20 17:57:42 -05:00
parent 8835d57ae3
commit 51b335914c

View File

@ -31,7 +31,9 @@ jobs:
- name : submodule checkout
# Need to update submodules
run: git submodule update --init --depth 1
run: |
git submodule sync --recursive
git submodule update --init --depth 1
- name: Clean Build Environment
run: rm -Rf ${{runner.workspace}}/build