mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 02:06:27 +08:00
check_submodules: fetch in parallel on CI
This commit is contained in:
@@ -8,8 +8,8 @@ if [[ -f $1"/.git" || -d $1"/.git" ]]; then
|
|||||||
# CI environment always update
|
# CI environment always update
|
||||||
if [ "$CI" == "true" ]; then
|
if [ "$CI" == "true" ]; then
|
||||||
git submodule --quiet sync --recursive -- $1
|
git submodule --quiet sync --recursive -- $1
|
||||||
git submodule --quiet update --init --recursive -- $1 || true
|
git submodule --quiet update --init --recursive --jobs=8 -- $1 || true
|
||||||
git submodule --quiet update --init --recursive -- $1
|
git submodule --quiet update --init --recursive --jobs=8 -- $1
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user