ci: remove step timeout, use explicit env vars in gradle step
build / Assemble debug APK (push) Successful in 54s
build / Assemble debug APK (push) Successful in 54s
This commit is contained in:
1 parent
d77a408d14
commit
1d0994c540
1 file changed
+4
-1
@@ -65,10 +65,13 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Build debug APK
|
||||
timeout-minutes: 25
|
||||
run: |
|
||||
cd repo
|
||||
export JAVA_HOME=/tmp/gitea-runner-work/jdk
|
||||
export ANDROID_HOME=/tmp/gitea-runner-work/android-sdk
|
||||
export PATH=$JAVA_HOME/bin:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$PATH
|
||||
./gradlew assembleDebug --no-daemon
|
||||
echo "Gradle exit code: $?"
|
||||
|
||||
# Note: artifact upload requires Docker or Gitea's native actions
|
||||
# Skipping artifact upload — download APK from runner workspace if needed
|
||||
Reference in new issue
Block a user