inventree-app/.github/workflows/android.yaml
HendrikRauh e3e67f5b29
Some checks failed
Android / build (push) Failing after 6m5s
Refactor Android CI workflow to use Nix actions and improve translation file collection
2026-01-26 18:34:30 +01:00

40 lines
893 B
YAML

# Build Android version of the app
name: Android
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Prepare Nix devshell
uses: ./.github/actions/nix-devshell
with:
prebuild: "true"
- name: Collect Translation Files
uses: ./.github/actions/nix-devshell
with:
commands: |
cd lib/l10n
python3 collect_translations.py
- name: Build Debug APK
uses: ./.github/actions/nix-devshell
with:
commands: |
flutter build apk --debug --target-platform android-arm64
- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
name: app-debug-apk
path: build/app/outputs/flutter-apk/*.apk
# retention-days: 90