inventree-app/.github/workflows/android.yaml
HendrikRauh d4c4ccbebd
Some checks failed
Android / build (push) Has been cancelled
build android on linux
2026-01-26 16:49:43 +01:00

30 lines
713 B
YAML

# Build Android version of the app
name: Android
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker.io/nixos/nix:latest
steps:
- name: Install nodejs (for checkout action)
run: nix-env -iA nixpkgs.nodejs_24
- name: Checkout code
uses: actions/checkout@v3
- name: Collect Translation Files
run: |
cd lib/l10n
nix --extra-experimental-features 'nix-command flakes' develop --command python3 collect_translations.py
cd ../..
- name: Build Debug APK
run: |
nix --extra-experimental-features 'nix-command flakes' develop --command flutter build apk --debug