File tree Expand file tree Collapse file tree
actions/setup-android-emulator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ inputs:
1919 description : Android system image architecture.
2020 required : false
2121 default : x86_64
22+ java-version :
23+ description : JDK version to install for Android builds.
24+ required : false
25+ default : ' 17'
2226runs :
2327 using : composite
2428 steps :
@@ -41,10 +45,10 @@ runs:
4145 ~/.android/adb*
4246 key : ${{ inputs.cache-key }}
4347
44- - name : Set up JDK 17
48+ - name : Set up JDK
4549 uses : actions/setup-java@v3
4650 with :
47- java-version : 17
51+ java-version : ${{ inputs.java-version }}
4852 distribution : adopt
4953 cache : gradle
5054
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ jobs:
105105 with :
106106 avd-name : ${{ env.AVD_NAME }}
107107 cache-key : capacitor-avd-31
108+ java-version : ' 21'
108109
109110 - name : Enable Corepack
110111 run : corepack enable
You can’t perform that action at this time.
0 commit comments