download android 30 as it's the one used by default with cargo apk (#822)

This commit is contained in:
François 2024-01-24 21:49:17 +01:00 • committed by GitHub
parent 7d8ee38f31
commit 802073d808
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -289,6 +289,9 @@ jobs:
rustup target add aarch64-linux-android
rustup target add i686-linux-android
rustup target add x86_64-linux-android
- name: Set Up Android tools
run: |
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT --install "platforms;android-30"
- name: Install Cargo APK
run: cargo install cargo-apk
- name: Build APK