From 45dd4afa1fa61d1add97377d2fbec2a0d5a13240 Mon Sep 17 00:00:00 2001 From: niansa Date: Fri, 15 Mar 2024 14:06:15 +0000 Subject: [PATCH] Android CI: Fix wrong cwd if unshallow fails --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cd585bc1b2..9dd5cca770 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,9 @@ android: script: - apt-get update -y - git submodule update --init --recursive - - cd externals/vcpkg && git fetch --unshallow && cd - + - cd externals/vcpkg + - git fetch --unshallow || true + - cd ../.. - export ANDROID_HOME="/usr/lib/android-sdk/" - echo y | sdkmanager --sdk_root=/usr/lib/android-sdk --licenses - bash ./.ci/scripts/android/build.sh