forked from ShuriZma/suyu
1
0
Fork 0

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
1 changed files with 3 additions and 1 deletions

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