actions: try to fix workflow
Try to fix workflow to no avail. Will need to do more testing later.
This commit is contained in:
parent
399942e7e5
commit
efe03cac8c
2 changed files with 5 additions and 10 deletions
14
.github/workflows/android.yml
vendored
14
.github/workflows/android.yml
vendored
|
@ -11,22 +11,16 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
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
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: gradle
|
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
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Test app with Gradle
|
- name: Test app with Gradle
|
||||||
|
|
|
@ -10,6 +10,7 @@ plugins {
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdk 33
|
compileSdk 33
|
||||||
|
ndkVersion "21.4.7075529"
|
||||||
namespace "org.oxycblt.auxio"
|
namespace "org.oxycblt.auxio"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
|
|
Loading…
Reference in a new issue