Android CI: Fix wrong cwd if unshallow fails

This commit is contained in:
niansa 2024-03-15 14:06:15 +00:00 committed by Crimson Hawk
parent aab8b02793
commit 45dd4afa1f

View file

@ -32,7 +32,9 @@ android:
script: script:
- apt-get update -y - apt-get update -y
- git submodule update --init --recursive - 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/" - export ANDROID_HOME="/usr/lib/android-sdk/"
- echo y | sdkmanager --sdk_root=/usr/lib/android-sdk --licenses - echo y | sdkmanager --sdk_root=/usr/lib/android-sdk --licenses
- bash ./.ci/scripts/android/build.sh - bash ./.ci/scripts/android/build.sh