Skip to content

Commit

Permalink
Move Android NDK from RC to LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo committed Nov 26, 2024
1 parent aaf1e4e commit f4b6b54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/Android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,16 @@ jobs:
distribution: 'adopt'
cache: gradle

- name: Accept SDK licenses
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses

- name: Install CMake
run: |
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.31.0"
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "cmake;3.31.0"
- name: Cache CMake build folder
uses: actions/cache@v4
with:
path: android-project/app/.cxx
key: ${{ github.workflow }}-v5-${{ github.sha }}
restore-keys: ${{ github.workflow }}-v5-
key: ${{ github.workflow }}-v4-${{ github.sha }}
restore-keys: ${{ github.workflow }}-v4-

- name: Build
working-directory: ${{github.workspace}}
Expand Down
2 changes: 1 addition & 1 deletion android-project/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (buildAsApplication) {
}

android {
ndkVersion '28.0.12433566'
ndkVersion '27.2.12479018'
compileSdk 35
defaultConfig {
if (buildAsApplication) {
Expand Down

0 comments on commit f4b6b54

Please sign in to comment.