Skip to content

Commit

Permalink
tool, sample: Allow consumption from github directly
Browse files Browse the repository at this point in the history
  • Loading branch information
roxk committed Sep 11, 2024
1 parent 8b051c9 commit 120e92c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
1 change: 1 addition & 0 deletions flutter-example/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions flutter-example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions migratetool/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 120e92c

Please sign in to comment.