From 68f478fb21cf621daa5e870c5eb55559e0f6ebf9 Mon Sep 17 00:00:00 2001 From: oluiscabral Date: Wed, 11 Dec 2024 22:50:52 -0300 Subject: [PATCH] Bring back Android SDK setup --- .github/workflows/build.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee0eb2c..ee96394 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,17 +56,18 @@ jobs: - name: Set up Gradle uses: gradle/actions/setup-gradle@v3 + - name: Set up Android SDK + uses: android-actions/setup-android@v3 + - name: Set up Android NDK - id: setup-ndk uses: nttld/setup-ndk@v1 with: + link-to-sdk: true ndk-version: r28-beta1 - name: Java tests run: gradle test working-directory: ./java - env: - ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} windows: name: Test on Windows @@ -101,17 +102,18 @@ jobs: - name: Set up Gradle uses: gradle/actions/setup-gradle@v3 + - name: Set up Android SDK + uses: android-actions/setup-android@v3 + - name: Set up Android NDK - id: setup-ndk uses: nttld/setup-ndk@v1 with: + link-to-sdk: true ndk-version: r28-beta1 - name: Java tests run: gradle test working-directory: ./java - env: - ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} mac-intel: name: Test on macOS Intel @@ -146,14 +148,15 @@ jobs: - name: Set up Gradle uses: gradle/actions/setup-gradle@v3 + - name: Set up Android SDK + uses: android-actions/setup-android@v3 + - name: Set up Android NDK - id: setup-ndk uses: nttld/setup-ndk@v1 with: + link-to-sdk: true ndk-version: r28-beta1 - name: Java tests run: gradle test working-directory: ./java - env: - ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}