Set depth to 1 when fetch submodules

This commit is contained in:
Chai Feng
2020-08-12 13:48:01 +08:00
parent 409fb88131
commit 972716443f
+1 -1
View File
@@ -7,7 +7,7 @@ steps:
- name: Fetch Submodules
image: alpine/git
commands:
- git submodule update --recursive --remote
- git submodule update --recursive --depth=1 --remote
- name: Testing
image: ubuntu:bionic