Skip to content

Commit

Permalink
Use Java 17 for setting up Android SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Aug 7, 2024
1 parent eed1c35 commit 9452ef1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9452ef1

Please sign in to comment.