Skip to content

Commit

Permalink
update testflight ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hvthhien committed Feb 19, 2024
1 parent ddd9111 commit b3a0726
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/ios-release-testflight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ on:

jobs:
fastlane-deploy:
runs-on: [ self-hosted, macm2, build-ci-local-bmvn, ios ]
runs-on: macOS-12
steps:
# Set up Flutter.
- name: Clone Flutter repository with master channel
uses: subosito/flutter-action@v2
with:
flutter-version: "3.13.0"
channel: stable
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "14.2"

- name: Set env
run: |
Expand All @@ -29,6 +32,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

# Setup Ruby, Bundler, and Gemfile dependencies
- name: Setup Fastlane
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.6"
bundler-cache: true
working-directory: ios

- uses: webfactory/[email protected]
with:
ssh-private-key: |
Expand Down
5 changes: 5 additions & 0 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
Expand Down Expand Up @@ -1132,6 +1133,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/RunnerDebug.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
Expand Down Expand Up @@ -1333,6 +1335,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
Expand Down Expand Up @@ -1540,6 +1543,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/RunnerDebug.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
Expand Down Expand Up @@ -1734,6 +1738,7 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BUILD_LIBRARY_FOR_DISTRIBUTION = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
Expand Down
6 changes: 3 additions & 3 deletions ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ platform :ios do
export_options: {
method: "app-store",
provisioningProfiles: {
"com.bitmark.autonomywallet": "Autonomy Wallet Appstore",
"com.bitmark.autonomywallet.notification": "Autonomy Wallet Push Notification Appstore",
"com.bitmark.autonomywallet": "Autonomy_Wallet_Appstore",
"com.bitmark.autonomywallet.notification": "Autonomy_Wallet_Push_Notification_Appstore",
},
iCloudContainerEnvironment: 'Production'
},
Expand All @@ -244,7 +244,7 @@ platform :ios do
api_key: api_key,
app_version: ENV["APP_VERSION"],
build_number: next_build_number.to_s,
notify_external_testers: false
skip_submission: true,
)

sentry_create_release(
Expand Down

0 comments on commit b3a0726

Please sign in to comment.