summaryrefslogtreecommitdiff
path: root/appveyor
diff options
context:
space:
mode:
authorMax Semenik <maxsem.wiki@gmail.com>2021-02-13 20:22:26 +0300
committerNikita Popov <nikita.ppv@gmail.com>2021-02-15 09:49:50 +0100
commit1f3f7c4374f15bcd33110bf1549a005e2d8c4a81 (patch)
treef048f794489d1ab876a1dcd4af0130b02ee7eae5 /appveyor
parent2b93ae601a892f870ce3677846fba84f6a5b0289 (diff)
downloadphp-git-1f3f7c4374f15bcd33110bf1549a005e2d8c4a81.tar.gz
CI: add --depth 1 to git clone for speed
Closes GH-6690.
Diffstat (limited to 'appveyor')
-rw-r--r--appveyor/build.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/appveyor/build.bat b/appveyor/build.bat
index c8005734e1..3593228389 100644
--- a/appveyor/build.bat
+++ b/appveyor/build.bat
@@ -20,7 +20,7 @@ if not exist "%SDK_RUNNER%" (
if not exist "%PHP_BUILD_CACHE_SDK_DIR%" (
echo Cloning remote SDK repository
- git clone --branch %SDK_BRANCH% %SDK_REMOTE% "%PHP_BUILD_CACHE_SDK_DIR%" 2>&1
+ git clone --branch %SDK_BRANCH% %SDK_REMOTE% --depth 1 "%PHP_BUILD_CACHE_SDK_DIR%" 2>&1
)
for /f "tokens=*" %%a in ('type %PHP_BUILD_CACHE_SDK_DIR%\VERSION') do set GOT_SDK_VER=%%a