Skip to content

Commit 3561b38

Browse files
committed
set ndk env variable (#5465)
# Objective - Fixes #5463 - set ANDROID_NDK_ROOT - GitHub recently updated their ubuntu container, removing some of the android environment variable: actions/runner-images@ca5d04c - `cargo-apk` is not reading the new environment variable: https://github.com/rust-windowing/android-ndk-rs/blob/9a8be258a951e213f4d07abe3c4c190d568c9694/ndk-build/src/ndk.rs#L33-L38 - this also means CI will now use the latest android NDK, I don't know if that's an issue
1 parent 6a1ba9c commit 3561b38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validation-jobs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
run: cargo install --force cargo-apk
6060

6161
- name: Build APK
62-
run: cargo apk build --example android_example
62+
run: ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME cargo apk build --example android_example
6363

6464
run-examples-on-windows-dx12:
6565
runs-on: windows-latest

0 commit comments

Comments
 (0)