Skip to content

Commit

Permalink
Update android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xgfd3 authored Oct 12, 2022
1 parent 031697d commit 853d823
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 853d823

Please sign in to comment.