forked from Archive/PX4-Autopilot
check_submodules: fetch in parallel on CI
This commit is contained in:
parent
d2a23c8512
commit
e94580711b
|
@ -8,8 +8,8 @@ if [[ -f $1"/.git" || -d $1"/.git" ]]; then
|
|||
# CI environment always update
|
||||
if [ "$CI" == "true" ]; then
|
||||
git submodule --quiet sync --recursive -- $1
|
||||
git submodule --quiet update --init --recursive -- $1 || true
|
||||
git submodule --quiet update --init --recursive -- $1
|
||||
git submodule --quiet update --init --recursive --jobs=8 -- $1 || true
|
||||
git submodule --quiet update --init --recursive --jobs=8 -- $1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue