ci: update Android NDK to r30 (30.0.16248370) (#6275)

r30 is the current NDK LTS; r29 is no longer supported. The NDK path
is part of the libhevtun cache key, so the cached libraries are rebuilt
with the new toolchain.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Miheichev Aleksandr SergeevichandClaude Opus 5.5 authored and GitHub committed 2026-10-01 15:27:02 +08:00
1 parent 04d407f5a1
commit e151890c55
1 file changed
+3 -3
+3 -3
View File
@@ -35,11 +35,11 @@ jobs:
run: |
echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager \
--channel=0 \
--install "ndk;29.0.14206865"
echo "NDK_HOME=$ANDROID_HOME/ndk/29.0.14206865" >> $GITHUB_ENV
--install "ndk;30.0.16248370"
echo "NDK_HOME=$ANDROID_HOME/ndk/30.0.16248370" >> $GITHUB_ENV
sed -i '10i\
\
ndkVersion = "29.0.14206865"' ${{ github.workspace }}/V2rayNG/app/build.gradle.kts
ndkVersion = "30.0.16248370"' ${{ github.workspace }}/V2rayNG/app/build.gradle.kts
- name: Restore cached libhevtun
id: cache-libhevtun-restore