We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d139204 commit 6e7404cCopy full SHA for 6e7404c
.github/workflows/build.yml
@@ -38,10 +38,13 @@ jobs:
38
- name: Grant execute permission
39
run: chmod +x gradlew
40
41
+ - name: Find Java
42
+ run: |
43
+ echo "JAVA_HOME=$(dirname $(dirname $(which java)))" >> $GITHUB_ENV
44
+ echo "PATH=$(dirname $(which java)):$PATH" >> $GITHUB_ENV
45
+
46
- name: Build Release APK
47
run: ./gradlew assembleRelease --no-daemon 2>&1
- env:
- JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.9*/x64
48
49
- name: Upload APK
50
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
0 commit comments