From 9452ef1b5d707c48390e0e8a41f1a0dd7e465a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus=20R=C3=B8rbech?= Date: Wed, 7 Aug 2024 10:50:15 +0200 Subject: [PATCH] Use Java 17 for setting up Android SDK --- .github/workflows/pr.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 51bcf02d0b..f9cda629b6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -474,9 +474,9 @@ jobs: - name: Setup Android SDK env: - JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }} + JAVA_HOME: $(JAVA_HOME_17_X64) uses: android-actions/setup-android@v3 - + - name: Install NDK run: sdkmanager --install "ndk;${{ env.NDK_VERSION }}" @@ -604,13 +604,13 @@ jobs: echo '#!/bin/bash\nccache clang++ "$@"%"' > /usr/local/bin/ccache-clang++ - name: Setup Android SDK - env: - JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }} uses: android-actions/setup-android@v3 - + env: + JAVA_HOME: $(JAVA_HOME_17_X64) + - name: Install NDK env: - JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }} + JAVA_HOME: $(JAVA_HOME_17_X64) run: sdkmanager --install "ndk;${{ env.NDK_VERSION }}" - name: Build Android Base Test Apk