2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-27 21:16:48 +00:00

Fixes for iOS build

This commit is contained in:
Oliver Walters 2022-04-02 15:13:38 +11:00
parent 77a9841fa6
commit 367493f346

View File

@ -56,9 +56,11 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
gradle-version: 6.1.1
- run: flutter pub get
- run: cp lib/dummy_dsn.dart lib/dsn.dart
- run: flutter build apk --debug
- name: Build for Android
run: |
flutter pub get
cp lib/dummy_dsn.dart lib/dsn.dart
flutter build apk --debug
ios:
runs-on: macos-latest
@ -76,6 +78,9 @@ jobs:
uses: subosito/flutter-action@v1
with:
flutter-version: '2.10.3'
- run: flutter pub get
- run: cp lib/dummy_dsn.dart lib/dsn.dart
- run: flutter build ios --release --no-codesign
- name: Build for iOS
run: |
flutter pub get
cp lib/dummy_dsn.dart lib/dsn.dart
pod repo update
flutter build ios --release --no-codesign