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
|
cargo-tauri android init
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 3. Echter Release Build für Android
|
# 3. Android Build - Korrigierte Syntax
|
||||||
cargo-tauri android build --release --target aarch64
|
# Wir nutzen --apk und hängen Cargo-Optionen nach dem -- an
|
||||||
|
cargo-tauri android build --target aarch64 --apk -- --release
|
||||||
env:
|
env:
|
||||||
JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
|
JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
|
||||||
|
|
||||||
- name: Debug - List APK locations
|
- name: Debug - List APK locations
|
||||||
run: |
|
run: |
|
||||||
echo "Suche nach erzeugten APKs..."
|
echo "Suche nach erzeugten APKs..."
|
||||||
find src-tauri/gen/android -name "*.apk"
|
find . -name "*.apk"
|
||||||
|
|
||||||
- name: Upload APK Artifact
|
- name: Upload APK Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Xiaomi-App
|
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
|
path: src-tauri/gen/android/app/build/outputs/apk/**/*.apk
|
||||||
|
|||||||
Reference in New Issue
Block a user