Skip to content

Commit 04c747b

Browse files
committed
add debug info and stacktrace to gradle builds for troubleshooting
1 parent 3e74681 commit 04c747b

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,22 @@ jobs:
4444
- name: Grant execute permission for gradlew
4545
run: chmod +x gradlew
4646

47+
- name: Debug Java and Gradle setup
48+
run: |
49+
echo "=== Java Information ==="
50+
java -version
51+
echo "JAVA_HOME: $JAVA_HOME"
52+
echo "PATH: $PATH"
53+
echo "=== Gradle Information ==="
54+
./gradlew --version
55+
echo "=== System Information ==="
56+
uname -a
57+
4758
- name: Build Debug APK
48-
run: ./gradlew assembleDebug --no-daemon
59+
run: ./gradlew assembleDebug --no-daemon --stacktrace --info
4960

5061
- name: Build Release APK
51-
run: ./gradlew assembleRelease --no-daemon
62+
run: ./gradlew assembleRelease --no-daemon --stacktrace --info
5263

5364
- name: Get version name
5465
id: version

0 commit comments

Comments
 (0)