.github/workflows/build_android.yml: use preinstalled Java
This commit is contained in:
parent
806d1483a8
commit
dd3779d64b
|
@ -39,12 +39,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
key: android
|
key: android
|
||||||
|
|
||||||
- name: Set up JDK 17
|
|
||||||
uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: 17
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
@ -75,5 +69,6 @@ jobs:
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
cd ./android
|
cd ./android
|
||||||
|
export JAVA_HOME=$JAVA_HOME_17_X64
|
||||||
./gradlew assembleDebug
|
./gradlew assembleDebug
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue