diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index f962f3a..b16a721 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -23,15 +23,17 @@ jobs: - name: Config NDK run: | wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip - unzip android-ndk-r20b-linux-x86_64.zip - echo ANDROID_NDK_HOME:$ANDROID_NDK_HOME - ANDROID_NDK_HOME=$(pwd)/android-ndk-r20b + unzip -q android-ndk-r20b-linux-x86_64.zip echo ANDROID_NDK_HOME:$ANDROID_NDK_HOME + touch local.properties + echo "ndk.dir=$(pwd)/android-ndk-r20b" >> local.properties - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew :app:assembleDebug + run: | + cat local.properties + ./gradlew :app:assembleDebug