From efe03cac8ca05c26bf65b30b13ae2339683ba096 Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Mon, 13 Feb 2023 21:44:59 -0700 Subject: [PATCH] actions: try to fix workflow Try to fix workflow to no avail. Will need to do more testing later. --- .github/workflows/android.yml | 14 ++++---------- app/build.gradle | 1 + 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 8a347a391..8738c44dd 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -11,22 +11,16 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Clone repository + uses: actions/checkout@v3 + - name: Clone submodules + run: git submodule update --init --recursive - name: Set up JDK 11 uses: actions/setup-java@v3 with: java-version: '11' distribution: 'temurin' cache: gradle - - name: Set up NDK r21e - uses: nttld/setup-ndk@v1.2.0 - id: setup-ndk - with: - ndk-version: r21e - add-to-path: false - - run: python3 prebuild.py - env: - ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Test app with Gradle diff --git a/app/build.gradle b/app/build.gradle index 33fac856c..9448c2dbb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,6 +10,7 @@ plugins { android { compileSdk 33 + ndkVersion "21.4.7075529" namespace "org.oxycblt.auxio" defaultConfig {