fix: strip CRLF from gradlew and debug task list
Some checks failed
Build & Deploy APK / build (push) Failing after 6s
Some checks failed
Build & Deploy APK / build (push) Failing after 6s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -20,11 +20,14 @@ 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: bash -c "./gradlew assembleRelease --no-daemon"
|
run: |
|
||||||
|
chmod +x ./gradlew
|
||||||
|
sed -i 's/\r$//' ./gradlew
|
||||||
|
echo "=== Testing gradle ==="
|
||||||
|
./gradlew tasks --no-daemon 2>&1 | head -20
|
||||||
|
echo "=== Building APK ==="
|
||||||
|
./gradlew assembleRelease --no-daemon
|
||||||
|
|
||||||
- name: Deploy APK & update version
|
- name: Deploy APK & update version
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user