ci: add 30min timeout, use --no-daemon gradle flag
build / Assemble debug APK (push) Successful in 1m28s
build / Assemble debug APK (push) Successful in 1m28s
This commit is contained in:
1 parent
ceb0406b14
commit
d77a408d14
1 file changed
+5
-1
@@ -10,6 +10,7 @@ jobs:
|
|||||||
assemble-debug:
|
assemble-debug:
|
||||||
name: Assemble debug APK
|
name: Assemble debug APK
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
# Checkout: clone the repo directly instead of actions/checkout
|
# Checkout: clone the repo directly instead of actions/checkout
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -64,7 +65,10 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Build debug APK
|
- name: Build debug APK
|
||||||
run: cd repo && ./gradlew assembleDebug
|
run: |
|
||||||
|
cd repo
|
||||||
|
./gradlew assembleDebug --no-daemon
|
||||||
|
echo "Gradle exit code: $?"
|
||||||
|
|
||||||
# Note: artifact upload requires Docker or Gitea's native actions
|
# Note: artifact upload requires Docker or Gitea's native actions
|
||||||
# Skipping artifact upload — download APK from runner workspace if needed
|
# Skipping artifact upload — download APK from runner workspace if needed
|
||||||
Reference in new issue
Block a user