From 731d0a2e487b7c9c71fc759eb27a98ae818b2578 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 14:06:17 +1100 Subject: [PATCH 01/14] try building project as part of CI --- .github/workflows/test.yaml | 46 ++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1e4db0e7..035e2a3e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -36,29 +36,29 @@ jobs: - run: flutter analyze - run: flutter test --coverage - #android: - # 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.2.3' - # - name: Setup Gradle - # 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 + android: + 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: Setup Gradle + 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 #ios: # runs-on: macos-latest From 47ee644cb5520ff2c559daa2f067876aa8bd5a84 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 14:36:27 +1100 Subject: [PATCH 02/14] Build in debug --- .github/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 035e2a3e..9167f54f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -45,7 +45,7 @@ jobs: with: submodules: recursive - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: '12.x' - name: Setup Flutter @@ -58,8 +58,8 @@ jobs: gradle-version: 6.1.1 - run: flutter pub get - run: cp lib/dummy_dsn.dart lib/dsn.dart - - run: flutter build apk - + - run: flutter build apk --debug + #ios: # runs-on: macos-latest # From 3b1818f99dbbf1cd9755007e1d4abbcd8d47068b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 14:38:44 +1100 Subject: [PATCH 03/14] Revert action version --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9167f54f..b3b47731 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -45,7 +45,7 @@ jobs: with: submodules: recursive - name: Setup Java - uses: actions/setup-java@v2 + uses: actions/setup-java@v1 with: java-version: '12.x' - name: Setup Flutter From 77a9841fa6b349772cf5292404f071710e0b4ba5 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 14:49:19 +1100 Subject: [PATCH 04/14] Build for iOS --- .github/workflows/test.yaml | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b3b47731..ea3f4c0a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -60,22 +60,22 @@ jobs: - run: cp lib/dummy_dsn.dart lib/dsn.dart - run: flutter build apk --debug - #ios: - # 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.2.3' - # - run: flutter pub get - # - run: cp lib/dummy_dsn.dart lib/dsn.dart - # - run: flutter build ios --release --no-codesign + ios: + 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' + - run: flutter pub get + - run: cp lib/dummy_dsn.dart lib/dsn.dart + - run: flutter build ios --release --no-codesign From 367493f346ba21d287e57fb5074214c829c4a17a Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 15:13:38 +1100 Subject: [PATCH 05/14] Fixes for iOS build --- .github/workflows/test.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ea3f4c0a..3feacdb7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 From c0e367576698b7c2efe39be73844de4999c8db4c Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 15:23:03 +1100 Subject: [PATCH 06/14] Update podfile.lock --- ios/Podfile.lock | 8 ++++---- lib/settings/about.dart | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 0ecaeec3..d78f9072 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -58,12 +58,12 @@ PODS: - SDWebImage (5.11.1): - SDWebImage/Core (= 5.11.1) - SDWebImage/Core (5.11.1) - - Sentry (6.2.1): - - Sentry/Core (= 6.2.1) - - Sentry/Core (6.2.1) + - Sentry (6.4.1): + - Sentry/Core (= 6.4.1) + - Sentry/Core (6.4.1) - sentry_flutter (0.0.1): - Flutter - - Sentry (~> 6.2.1) + - Sentry (~> 6.4.1) - shared_preferences (0.0.1): - Flutter - sqflite (0.0.2): diff --git a/lib/settings/about.dart b/lib/settings/about.dart index 13af3c35..8e05c8be 100644 --- a/lib/settings/about.dart +++ b/lib/settings/about.dart @@ -83,6 +83,7 @@ class InvenTreeAboutWidget extends StatelessWidget { title: Text(L10().address), subtitle: Text(InvenTreeAPI().baseUrl.isNotEmpty ? InvenTreeAPI().baseUrl : L10().notConnected), leading: FaIcon(FontAwesomeIcons.globe), + trailing: InvenTreeAPI().isConnected() ? FaIcon(FontAwesomeIcons.checkCircle, color: COLOR_SUCCESS) : FaIcon(FontAwesomeIcons.timesCircle, color: COLOR_DANGER), ) ); From 74075f6037e4fe2f0ace889fb3e6ec70389ec236 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 15:29:24 +1100 Subject: [PATCH 07/14] Remove podfile.lock file - Untrack --- .gitignore | 1 + ios/Podfile.lock | 157 ----------------------------------------------- 2 files changed, 1 insertion(+), 157 deletions(-) delete mode 100644 ios/Podfile.lock diff --git a/.gitignore b/.gitignore index 2604e33b..2f258989 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ android/key.properties ios/Flutter/flutter_export_environment.sh ios/Flutter/Flutter.podspec ios/build +ios/Podfile.lock **/doc/api/ .dart_tool/ .flutter-plugins diff --git a/ios/Podfile.lock b/ios/Podfile.lock deleted file mode 100644 index d78f9072..00000000 --- a/ios/Podfile.lock +++ /dev/null @@ -1,157 +0,0 @@ -PODS: - - audioplayers (0.0.1): - - Flutter - - camera (0.0.1): - - Flutter - - device_info_plus (0.0.1): - - Flutter - - DKImagePickerController/Core (4.3.2): - - DKImagePickerController/ImageDataManager - - DKImagePickerController/Resource - - DKImagePickerController/ImageDataManager (4.3.2) - - DKImagePickerController/PhotoGallery (4.3.2): - - DKImagePickerController/Core - - DKPhotoGallery - - DKImagePickerController/Resource (4.3.2) - - DKPhotoGallery (0.0.17): - - DKPhotoGallery/Core (= 0.0.17) - - DKPhotoGallery/Model (= 0.0.17) - - DKPhotoGallery/Preview (= 0.0.17) - - DKPhotoGallery/Resource (= 0.0.17) - - SDWebImage - - SwiftyGif - - DKPhotoGallery/Core (0.0.17): - - DKPhotoGallery/Model - - DKPhotoGallery/Preview - - SDWebImage - - SwiftyGif - - DKPhotoGallery/Model (0.0.17): - - SDWebImage - - SwiftyGif - - DKPhotoGallery/Preview (0.0.17): - - DKPhotoGallery/Model - - DKPhotoGallery/Resource - - SDWebImage - - SwiftyGif - - DKPhotoGallery/Resource (0.0.17): - - SDWebImage - - SwiftyGif - - file_picker (0.0.1): - - DKImagePickerController/PhotoGallery - - Flutter - - Flutter (1.0.0) - - FMDB (2.7.5): - - FMDB/standard (= 2.7.5) - - FMDB/standard (2.7.5) - - image_picker (0.0.1): - - Flutter - - MTBBarcodeScanner (5.0.11) - - open_file (0.0.1): - - Flutter - - package_info_plus (0.4.5): - - Flutter - - path_provider (0.0.1): - - Flutter - - qr_code_scanner (0.2.0): - - Flutter - - MTBBarcodeScanner - - SDWebImage (5.11.1): - - SDWebImage/Core (= 5.11.1) - - SDWebImage/Core (5.11.1) - - Sentry (6.4.1): - - Sentry/Core (= 6.4.1) - - Sentry/Core (6.4.1) - - sentry_flutter (0.0.1): - - Flutter - - Sentry (~> 6.4.1) - - shared_preferences (0.0.1): - - Flutter - - sqflite (0.0.2): - - Flutter - - FMDB (>= 2.7.5) - - SwiftyGif (5.4.0) - - url_launcher (0.0.1): - - Flutter - -DEPENDENCIES: - - audioplayers (from `.symlinks/plugins/audioplayers/ios`) - - camera (from `.symlinks/plugins/camera/ios`) - - device_info_plus (from `.symlinks/plugins/device_info_plus/ios`) - - file_picker (from `.symlinks/plugins/file_picker/ios`) - - Flutter (from `Flutter`) - - image_picker (from `.symlinks/plugins/image_picker/ios`) - - open_file (from `.symlinks/plugins/open_file/ios`) - - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) - - path_provider (from `.symlinks/plugins/path_provider/ios`) - - qr_code_scanner (from `.symlinks/plugins/qr_code_scanner/ios`) - - sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`) - - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`) - - sqflite (from `.symlinks/plugins/sqflite/ios`) - - url_launcher (from `.symlinks/plugins/url_launcher/ios`) - -SPEC REPOS: - trunk: - - DKImagePickerController - - DKPhotoGallery - - FMDB - - MTBBarcodeScanner - - SDWebImage - - Sentry - - SwiftyGif - -EXTERNAL SOURCES: - audioplayers: - :path: ".symlinks/plugins/audioplayers/ios" - camera: - :path: ".symlinks/plugins/camera/ios" - device_info_plus: - :path: ".symlinks/plugins/device_info_plus/ios" - file_picker: - :path: ".symlinks/plugins/file_picker/ios" - Flutter: - :path: Flutter - image_picker: - :path: ".symlinks/plugins/image_picker/ios" - open_file: - :path: ".symlinks/plugins/open_file/ios" - package_info_plus: - :path: ".symlinks/plugins/package_info_plus/ios" - path_provider: - :path: ".symlinks/plugins/path_provider/ios" - qr_code_scanner: - :path: ".symlinks/plugins/qr_code_scanner/ios" - sentry_flutter: - :path: ".symlinks/plugins/sentry_flutter/ios" - shared_preferences: - :path: ".symlinks/plugins/shared_preferences/ios" - sqflite: - :path: ".symlinks/plugins/sqflite/ios" - url_launcher: - :path: ".symlinks/plugins/url_launcher/ios" - -SPEC CHECKSUMS: - audioplayers: 455322b54050b30ea4b1af7cd9e9d105f74efa8c - camera: 3164201dc344383e62282964016528c4f5a9ad50 - device_info_plus: e5c5da33f982a436e103237c0c85f9031142abed - DKImagePickerController: b5eb7f7a388e4643264105d648d01f727110fc3d - DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179 - file_picker: 3e6c3790de664ccf9b882732d9db5eaf6b8d4eb1 - Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c - FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a - image_picker: e06f7a68f000bd36f552c1847e33cda96ed31f1f - MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb - open_file: 02eb5cb6b21264bd3a696876f5afbfb7ca4f4b7d - package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e - path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c - qr_code_scanner: bb67d64904c3b9658ada8c402e8b4d406d5d796e - SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d - Sentry: 9b922b396b0e0bca8516a10e36b0ea3ebea5faf7 - sentry_flutter: 5b3c6d717db5b7482504a313c831b318297d4d37 - shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d - sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904 - SwiftyGif: 5d4af95df24caf1c570dbbcb32a3b8a0763bc6d7 - url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef - -PODFILE CHECKSUM: b019b84a1a5becd280bd8f3d9de4acab99656b4b - -COCOAPODS: 1.10.2 From 2910c8356aa63398f161dca9bbf1b4e20b03893e Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 15:30:01 +1100 Subject: [PATCH 08/14] Add "pod install" step --- .github/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3feacdb7..1cc3dd83 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -83,4 +83,5 @@ jobs: flutter pub get cp lib/dummy_dsn.dart lib/dsn.dart pod repo update + pod install flutter build ios --release --no-codesign From 8cda3cfa8d70dfee7cd3c03eb2dfefeb23259f16 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 15:36:24 +1100 Subject: [PATCH 09/14] Split CI steps into different files --- .github/workflows/android.yaml | 39 +++++++++++++++ .github/workflows/ios.yaml | 38 +++++++++++++++ .github/workflows/lint.yaml | 37 +++++++++++++++ .github/workflows/test.yaml | 87 ---------------------------------- 4 files changed, 114 insertions(+), 87 deletions(-) create mode 100644 .github/workflows/android.yaml create mode 100644 .github/workflows/ios.yaml create mode 100644 .github/workflows/lint.yaml delete mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml new file mode 100644 index 00000000..32aed76d --- /dev/null +++ b/.github/workflows/android.yaml @@ -0,0 +1,39 @@ +# Build Android version of the app + +name: Android + +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: Setup Gradle + uses: gradle/gradle-build-action@v2 + with: + gradle-version: 6.1.1 + - name: Build for Android + run: | + flutter pub get + cp lib/dummy_dsn.dart lib/dsn.dart + flutter build apk --debug diff --git a/.github/workflows/ios.yaml b/.github/workflows/ios.yaml new file mode 100644 index 00000000..14d3bc8b --- /dev/null +++ b/.github/workflows/ios.yaml @@ -0,0 +1,38 @@ +# 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: | + pod init + flutter pub get + cp lib/dummy_dsn.dart lib/dsn.dart + pod repo update + pod install + flutter build ios --release --no-codesign diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 00000000..a9d3fe78 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,37 @@ +# Run flutter linting checks + +name: lint + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + + lint: + runs-on: ubuntu-latest + + env: + SENTRY_DSN: ${{ secrets.SENTRY_DSN }} + + 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' + - run: flutter pub get + - run: cp lib/dummy_dsn.dart lib/dsn.dart + - run: flutter analyze + - run: flutter test --coverage diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index 1cc3dd83..00000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,87 +0,0 @@ -# Run flutter linting checks - -name: test - -on: - push: - branches: - - master - pull_request: - branches: - - master - -jobs: - - lint: - runs-on: ubuntu-latest - - env: - SENTRY_DSN: ${{ secrets.SENTRY_DSN }} - - 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' - - run: flutter pub get - - run: cp lib/dummy_dsn.dart lib/dsn.dart - - run: flutter analyze - - run: flutter test --coverage - - android: - 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: Setup Gradle - uses: gradle/gradle-build-action@v2 - with: - gradle-version: 6.1.1 - - 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 - - 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: | - flutter pub get - cp lib/dummy_dsn.dart lib/dsn.dart - pod repo update - pod install - flutter build ios --release --no-codesign From d5c8e39aaac02adc158c112620ac1e1b191f803b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 15:40:11 +1100 Subject: [PATCH 10/14] Run pod commands in ios directory --- .github/workflows/ios.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ios.yaml b/.github/workflows/ios.yaml index 14d3bc8b..ee394235 100644 --- a/.github/workflows/ios.yaml +++ b/.github/workflows/ios.yaml @@ -30,9 +30,11 @@ jobs: flutter-version: '2.10.3' - name: Build for iOS run: | + cd ios pod init - flutter pub get - cp lib/dummy_dsn.dart lib/dsn.dart pod repo update pod install + cd .. + flutter pub get + cp lib/dummy_dsn.dart lib/dsn.dart flutter build ios --release --no-codesign From abe28118aeb5ab5e20ea34a3422f9ca458f72031 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 15:43:00 +1100 Subject: [PATCH 11/14] Don't init, innit --- .github/workflows/ios.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ios.yaml b/.github/workflows/ios.yaml index ee394235..1d340553 100644 --- a/.github/workflows/ios.yaml +++ b/.github/workflows/ios.yaml @@ -31,7 +31,6 @@ jobs: - name: Build for iOS run: | cd ios - pod init pod repo update pod install cd .. From d290de4b640d9a8ab61622242a21011289ce2b59 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 15:47:50 +1100 Subject: [PATCH 12/14] Order of operations? --- .github/workflows/ios.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ios.yaml b/.github/workflows/ios.yaml index 1d340553..202c684b 100644 --- a/.github/workflows/ios.yaml +++ b/.github/workflows/ios.yaml @@ -30,10 +30,10 @@ jobs: flutter-version: '2.10.3' - name: Build for iOS run: | + flutter pub get cd ios pod repo update pod install cd .. - flutter pub get cp lib/dummy_dsn.dart lib/dsn.dart flutter build ios --release --no-codesign From fed974eb690e45be8224e846a19d82668fca5c04 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 16:37:54 +1100 Subject: [PATCH 13/14] This should break --- lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index 372eed2c..0a919d95 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -22,7 +22,7 @@ Future main() async { PackageInfo info = await PackageInfo.fromPlatform(); String pkg = info.packageName; String version = info.version; - String build = info.buildNumber; + String build = info.buildNumber333; String release = "${pkg}@${version}:${build}"; From 323782fdbc69fe0da3e48bdd4f5e6ca25e8d39aa Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 2 Apr 2022 16:59:33 +1100 Subject: [PATCH 14/14] Revert breaking bug for test --- lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index 0a919d95..372eed2c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -22,7 +22,7 @@ Future main() async { PackageInfo info = await PackageInfo.fromPlatform(); String pkg = info.packageName; String version = info.version; - String build = info.buildNumber333; + String build = info.buildNumber; String release = "${pkg}@${version}:${build}";