Skip to content

Commit

Permalink
use correct java version for android SDK setup
Browse files Browse the repository at this point in the history
  • Loading branch information
clementetb committed Jul 11, 2024
1 parent a63f7d0 commit 885c9bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,9 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: ${{ vars.VERSION_JAVA_DISTRIBUTION }}
java-version: ${{ vars.VERSION_JAVA }}
java-version: |
17
${{ vars.VERSION_JAVA }}
- name: Setup Gradle and task/dependency caching
uses: gradle/actions/setup-gradle@v3
Expand Down Expand Up @@ -602,6 +604,8 @@ 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

- name: Install NDK
Expand Down

0 comments on commit 885c9bd

Please sign in to comment.