Parcourir la source

Android CI: Fix wrong cwd if unshallow fails

niansa il y a 2 ans
Parent
commit
45dd4afa1f
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      .gitlab-ci.yml

+ 3 - 1
.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