Skip to content

Commit 9c45325

Browse files
Update android-build.yml
1 parent 562c6f4 commit 9c45325

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/android-build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,17 @@ jobs:
2121
- name: Setup Node.js
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: 22
24+
node-version: 20
2525

2626
- name: Setup Java 17
2727
uses: actions/setup-java@v4
2828
with:
2929
distribution: temurin
3030
java-version: 17
3131

32+
- name: Verify Java Version
33+
run: java -version
34+
3235
- name: Install Dependencies
3336
run: npm install
3437

@@ -73,6 +76,10 @@ jobs:
7376
}
7477
' >> android/app/build.gradle
7578
79+
echo '
80+
org.gradle.java.home=/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.19-10/x64
81+
' >> android/gradle.properties
82+
7683
- name: Build Release APK
7784
run: |
7885
cd android

0 commit comments

Comments
 (0)