fix: run gradle via bash -c to preserve arguments
Some checks failed
Build & Deploy APK / build (push) Failing after 4s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
admin
2026-03-25 21:20:50 +01:00
parent 825ae83e5a
commit ef669faec1

View File

@@ -20,12 +20,11 @@ jobs:
test -n "$ANDROID_HOME" || { echo "ERROR: ANDROID_HOME not set"; exit 1; }
ls "$ANDROID_HOME/platforms" > /dev/null 2>&1 || echo "WARNING: Cannot list ANDROID_HOME (permissions?), build may still work via gradle"
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build Release APK
run: |
echo "Working dir: $(pwd)"
ls -la gradlew build.gradle.kts app/build.gradle.kts 2>&1
chmod +x ./gradlew
./gradlew assembleRelease --no-daemon --stacktrace
run: bash -c "./gradlew assembleRelease --no-daemon"
- name: Deploy APK & update version
run: |