fix: run gradle via bash -c to preserve arguments
Some checks failed
Build & Deploy APK / build (push) Failing after 4s
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:
@@ -20,12 +20,11 @@ jobs:
|
|||||||
test -n "$ANDROID_HOME" || { echo "ERROR: ANDROID_HOME not set"; exit 1; }
|
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"
|
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
|
- name: Build Release APK
|
||||||
run: |
|
run: bash -c "./gradlew assembleRelease --no-daemon"
|
||||||
echo "Working dir: $(pwd)"
|
|
||||||
ls -la gradlew build.gradle.kts app/build.gradle.kts 2>&1
|
|
||||||
chmod +x ./gradlew
|
|
||||||
./gradlew assembleRelease --no-daemon --stacktrace
|
|
||||||
|
|
||||||
- name: Deploy APK & update version
|
- name: Deploy APK & update version
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user