inventree-app/.github/workflows/android.yaml

27 lines
618 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: 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