From b420d97c8ccb95dbc3695c17fe6599adf159e87f Mon Sep 17 00:00:00 2001 From: Edoardo Lolletti Date: Thu, 9 Jun 2022 20:15:40 +0200 Subject: [PATCH] Manually set android ndk 21 to use https://github.com/actions/virtual-environments/issues/5595 --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2a20d90..287c497a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,6 +36,10 @@ jobs: echo "sdk.dir=$ANDROID_HOME" > local.properties - name: Build client run: | + ANDROID_ROOT=/usr/local/lib/android + ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk + ANDROID_NDK_ROOT=${ANDROID_SDK_ROOT}/ndk-bundle + ln -sfn $ANDROID_SDK_ROOT/ndk/21.4.7075529 $ANDROID_NDK_ROOT $ANDROID_HOME/ndk-bundle/ndk-build -j2 - name: Build base apk run: |