diff --git a/appveyor.yml b/appveyor.yml index f89d4aa3..ea8a6f54 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,8 +13,11 @@ configuration: Release # clone directory clone_script: -- cmd: git clone -q --recursive --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git c:\xmrigCC -- cmd: git checkout -qf %APPVEYOR_REPO_BRANCH% +- cmd: >- + git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER% + cd %APPVEYOR_BUILD_FOLDER% + git checkout -qf %APPVEYOR_REPO_COMMIT% + git submodule update --init --recursive install: - mkdir c:\xmrigCC-deps