mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 07:43:18 +00:00
32 lines
798 B
YAML
32 lines
798 B
YAML
# Build Android version of the app
|
|
|
|
name: Android
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Install Nix (for nix usage)
|
|
run: |
|
|
set -euo pipefail
|
|
curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
|
|
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
|
nix --version
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6
|
|
|
|
- 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
|