From 92414ed9da520bc6170406823db6c0b98d9cc021 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Thu, 29 Aug 2024 21:47:11 +0100 Subject: [PATCH] system NDK --- .../check-flutter-integration-tests.yml | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check-flutter-integration-tests.yml b/.github/workflows/check-flutter-integration-tests.yml index 1c77d9c8ec55..214f9cd46b30 100644 --- a/.github/workflows/check-flutter-integration-tests.yml +++ b/.github/workflows/check-flutter-integration-tests.yml @@ -330,11 +330,14 @@ jobs: - name: Rust Android Setup run: cargo make setup-android - - uses: nttld/setup-ndk@v1 - id: setup-ndk - with: - ndk-version: r25 - link-to-sdk: true + - name: Install NDK $NDK_VERSION + run: | + ANDROID_ROOT=/usr/local/lib/android + ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk + SDKMANAGER=${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager + echo "y" | $SDKMANAGER "ndk;$NDK_VERSION" + echo "Installed $NDK_VERSION" + ls /usr/local/lib/android/sdk/ndk/$NDK_VERSION - name: Build Native run: | @@ -398,11 +401,14 @@ jobs: - name: Rust Android Setup run: cargo make setup-android - - uses: nttld/setup-ndk@v1 - id: setup-ndk - with: - ndk-version: r25 - link-to-sdk: true + - name: Install NDK $NDK_VERSION + run: | + ANDROID_ROOT=/usr/local/lib/android + ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk + SDKMANAGER=${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager + echo "y" | $SDKMANAGER "ndk;$NDK_VERSION" + echo "Installed $NDK_VERSION" + ls /usr/local/lib/android/sdk/ndk/$NDK_VERSION - uses: subosito/flutter-action@v2 name: Set up flutter