[CI] Clone git repository with a depth of 1 in the CI.
This commit is contained in:
parent
40b5013279
commit
08ed650c78
|
@ -68,6 +68,7 @@ def run_kiwix_build(
|
|||
command = ["kiwix-build"]
|
||||
command.append(target)
|
||||
command.append("--hide-progress")
|
||||
command.append("--fast-clone")
|
||||
if platform == "flatpak" or platform.startswith("win32_"):
|
||||
command.append("--assume-packages-installed")
|
||||
if target == "kiwix-lib-app" and platform.startswith("android_"):
|
||||
|
|
|
@ -89,6 +89,7 @@ def run_kiwix_build(target, platform,
|
|||
command = ['kiwix-build']
|
||||
command.append(target)
|
||||
command.append('--hide-progress')
|
||||
command.append('--fast-clone')
|
||||
if platform == 'flatpak' or platform.startswith('win32_'):
|
||||
command.append('--assume-packages-installed')
|
||||
if target == 'kiwix-lib-app' and platform.startswith('android_'):
|
||||
|
|
Loading…
Reference in New Issue