From edc7d5e5a00bd264bbb4e0b9c0eaf947d0325f95 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Thu, 15 Oct 2020 05:22:25 +0300 Subject: [PATCH] [workflow] download ndk manually --- .github/workflows/android.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ecf0062..a723f4e 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -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