diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 471cdca..8affe56 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -134,8 +134,7 @@ jobs: - uses: actions/checkout@v4 - run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer - run: gem install bundler - - working-directory: flutter-example - run: bundle install + - run: bundle install - uses: subosito/flutter-action@v2 with: # Do _NOT_ use the latest stable as those contain breaking changes @@ -173,12 +172,11 @@ jobs: BUILD_NUMBER=$(date +%s) flutter build ipa --export-options-plist ./exportOptions.plist --build-number $BUILD_NUMBER - name: Distribute to App Store Connect - working-directory: XamarinFormSample env: IOS_FASTLANE_APP_STORE_CONNECT_API_KEY_JSON_BASE64: ${{ secrets.IOS_FASTLANE_APP_STORE_CONNECT_API_KEY_JSON_BASE64 }} run: | export APP_STORE_CONNECT_API_KEY_FILE=$RUNNER_TEMP/app_store_connect_key.json - export APP_IPA_FILE_PATH=$RUNNER_TEMP/XamarinFormSample.iOS.ipa + export APP_IPA_FILE_PATH="$pwd/build/ios/ipa/Authgear Flutter.ipa" echo -n "$IOS_FASTLANE_APP_STORE_CONNECT_API_KEY_JSON_BASE64" | base64 --decode -o $APP_STORE_CONNECT_API_KEY_FILE bundle exec fastlane app_testflight #xamarin-ios is removed for now as there is no trivial way to build ios17+ xamarin app on github action. diff --git a/flutter-example/fastlane/Fastfile b/flutter-example/fastlane/Fastfile index 481db32..5fe67fc 100644 --- a/flutter-example/fastlane/Fastfile +++ b/flutter-example/fastlane/Fastfile @@ -11,6 +11,7 @@ platform :ios do lane :app_testflight do |options| upload_to_testflight( api_key_path: ENV['APP_STORE_CONNECT_API_KEY_FILE'], + ipa: "#{ENV['APP_IPA_FILE_PATH']}", skip_waiting_for_build_processing: true ) end diff --git a/flutter-example/pubspec.yaml b/flutter-example/pubspec.yaml index cc667bc..de05d1b 100644 --- a/flutter-example/pubspec.yaml +++ b/flutter-example/pubspec.yaml @@ -15,13 +15,16 @@ dependencies: shared_preferences: ^2.0.13 flutter_authgear: ^1.7.0 package_info_plus: 4.2.0 + authgear_sdk_tool_migrate_xamarin_flutter: + git: + url: https://github.com/authgear/authgear-tool-migrate-xamarin-flutter + path: migratetool + ref: v0.0.1 dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^2.0.0 - authgear_sdk_tool_migrate_xamarin_flutter: - path: ../migratetool flutter: uses-material-design: true diff --git a/migratetool/pubspec.yaml b/migratetool/pubspec.yaml index 8c5ff92..28c2ae3 100644 --- a/migratetool/pubspec.yaml +++ b/migratetool/pubspec.yaml @@ -1,5 +1,6 @@ name: authgear_sdk_tool_migrate_xamarin_flutter description: Authgear Migrate Tool For Xamarin To Flutter +repository: https://github.com/authgear/authgear-tool-migrate-xamarin-flutter/migratetool version: 0.0.1 environment: