mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-26 01:00:36 +08:00
check_submodules: fetch in parallel on CI
This commit is contained in:
1 parent
d2a23c8512
commit
e94580711b
1 file changed
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user