Skip to content

Commit b3de03f

Browse files
committed
ci: manually point ANDROID_NDK_ROOT to latest supplied version
It seems the symlink to `ndk-bundle` and this environment variable pointing to it have been removed to prevent the sdkmanager from failing, when finding the SDK setup to be in an "indeterminate" state. It is now up to the users themselves to install an NDK through that tool or point the right variables to a preinstalled "latest" NDK. actions/runner-images#2689 actions/runner-images#5926
1 parent 5a0bad1 commit b3de03f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ jobs:
6767
targets: ${{ matrix.platform.target }}
6868
components: clippy
6969

70+
- name: Setup NDK path
71+
shell: bash
72+
run: echo "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME" >> $GITHUB_ENV
7073
- name: Install Linux dependencies
7174
if: (matrix.platform.os == 'ubuntu-latest')
7275
run: sudo apt-get update && sudo apt-get install pkg-config cmake libfreetype6-dev libfontconfig1-dev

0 commit comments

Comments
 (0)