Skip to content

Commit

Permalink
More ndk env fiddling
Browse files Browse the repository at this point in the history
  • Loading branch information
nain-F49FF806 authored Jul 10, 2024
1 parent d3978ef commit face4f8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@ jobs:

- name: Fix ndk version
# As of this commit day ANDROID_NDK_LATEST_HOME=/usr/local/lib/android/sdk/ndk/26.3.11579264
# We just want the ndk to be v26 for agp 8.5
run: echo "ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV"
# We just want the ndk to be v26 for agp 8.5 / gradle 8.7
run: |
echo "ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV" && \
echo "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV" && \
echo "ANDROID_NDK=$ANDROID_NDK_LATEST_HOME" >> "$GITHUB_ENV"
- name: gradle cargoNDK plugin needs this file for some reason
run: touch android/local.properties

Expand Down

0 comments on commit face4f8

Please sign in to comment.