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

42 lines
957 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"
cache: "true"
cache-key-files: "flake.lock"
- 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