Set depth to 1 when fetch submodules

This commit is contained in:
Chai Feng 2020-01-06 16:31:35 +08:00
parent 409fb88131
commit 972716443f

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