Browse Source

[workflow] download ndk in sdk

pull/18/head
R4SAS 4 years ago committed by GitHub
parent
commit
6d0af9a4f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .github/workflows/android.yml

7
.github/workflows/android.yml

@ -19,13 +19,8 @@ jobs: @@ -19,13 +19,8 @@ jobs:
packages: |
build-tools;28.0.3
platforms;android-29
ndk;19.2.5345600
cache: true
- name: Setup Android NDK
run: |
export NDK_VERSION=r19c
curl -L https://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-linux-x86_64.zip -O
unzip -q android-ndk-${NDK_VERSION}-linux-x86_64.zip
export ANDROID_NDK_HOME=`pwd`/android-ndk-${NDK_VERSION}
- name: Build with Gradle
run: ./gradlew --no-daemon assembleDebug
- name: Upload artifacts

Loading…
Cancel
Save