mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-14 03:05:32 +00:00
* Build file changes Lots of changes required to meet compatibility of new mobile_scanner lib * Increase build memory * Refactor camera controller - Use MobileScanner now - Much better UX / feedback * Cleanup * Move test sheet file * Update release notes * Move actions to floating action buttons * Tweak deps * tweak github actions * Updates
42 lines
827 B
YAML
42 lines
827 B
YAML
# Build iOS version of the app
|
|
|
|
name: iOS
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '11'
|
|
- name: Setup Flutter
|
|
uses: subosito/flutter-action@v2
|
|
with:
|
|
flutter-version: '3.32.2'
|
|
channel: 'stable'
|
|
- name: Collect Translation Files
|
|
run: |
|
|
cd lib/l10n
|
|
python3 collect_translations.py
|
|
- name: Build for iOS
|
|
run: |
|
|
flutter pub get
|
|
cd ios
|
|
pod repo update
|
|
pod install
|
|
cd ..
|
|
flutter build ios --release --no-codesign --no-tree-shake-icons
|