Android Build CD/CI
Some checks failed
Android Build Final Fixed / build-android (push) Failing after 2m29s
Some checks failed
Android Build Final Fixed / build-android (push) Failing after 2m29s
This commit is contained in:
@@ -63,20 +63,19 @@ jobs:
|
||||
cargo-tauri android init
|
||||
fi
|
||||
|
||||
# 3. Echter Release Build für Android
|
||||
cargo-tauri android build --release --target aarch64
|
||||
# 3. Android Build - Korrigierte Syntax
|
||||
# Wir nutzen --apk und hängen Cargo-Optionen nach dem -- an
|
||||
cargo-tauri android build --target aarch64 --apk -- --release
|
||||
env:
|
||||
JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
|
||||
|
||||
- name: Debug - List APK locations
|
||||
run: |
|
||||
echo "Suche nach erzeugten APKs..."
|
||||
find src-tauri/gen/android -name "*.apk"
|
||||
find . -name "*.apk"
|
||||
|
||||
- name: Upload APK Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Xiaomi-App
|
||||
# Wir nutzen ein rekursives Pattern, damit er die APK findet,
|
||||
# egal ob sie direkt in /release/ oder in /release/aarch64/ liegt.
|
||||
path: src-tauri/gen/android/app/build/outputs/apk/**/*.apk
|
||||
|
||||
Reference in New Issue
Block a user