Skip to content

Commit fbe02df

Browse files
committed
Fix: Add timeout and gradle config for Android build
1 parent 33bebf9 commit fbe02df

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build-deploy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
jobs:
1313
build-android:
1414
runs-on: ubuntu-latest
15+
timeout-minutes: 30
1516
steps:
1617
- uses: actions/checkout@v4
1718

@@ -21,12 +22,18 @@ jobs:
2122
java-version: '17'
2223
distribution: 'temurin'
2324

25+
- name: Make gradlew executable
26+
working-directory: ./android
27+
run: chmod +x gradlew
28+
2429
- name: Setup Gradle
2530
uses: gradle/gradle-build-action@v3
31+
with:
32+
gradle-version: 8.9
2633

2734
- name: Build Android APK
2835
working-directory: ./android
29-
run: ./gradlew assembleRelease
36+
run: ./gradlew assembleRelease --no-daemon --stacktrace
3037

3138
- name: Upload APK Artifact
3239
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)