mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 09:23:19 +00:00
30 lines
713 B
YAML
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
|