Browse Source

[workflow] download ndk manually

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

9
.github/workflows/android.yml

@ -18,9 +18,12 @@ jobs: @@ -18,9 +18,12 @@ jobs:
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- uses: nttld/setup-ndk@v1
with:
ndk-version: r19c
- 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 assembleDebug

Loading…
Cancel
Save