mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 05:26:47 +00:00
41 lines
743 B
YAML
41 lines
743 B
YAML
# Build iOS version of the app
|
|
|
|
name: iOS
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: '12.x'
|
|
- name: Setup Flutter
|
|
uses: subosito/flutter-action@v1
|
|
with:
|
|
flutter-version: '2.10.3'
|
|
- name: Build for iOS
|
|
run: |
|
|
cd ios
|
|
pod init
|
|
pod repo update
|
|
pod install
|
|
cd ..
|
|
flutter pub get
|
|
cp lib/dummy_dsn.dart lib/dsn.dart
|
|
flutter build ios --release --no-codesign
|