mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 05:27:57 -05:00
[INJIMOB-2878] modify ios/fastfile and internal build workflow to enable automation build without testflight deploy (#1773)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
This commit is contained in:
2
.github/workflows/internal-build.yml
vendored
2
.github/workflows/internal-build.yml
vendored
@@ -170,7 +170,7 @@ jobs:
|
||||
APP_FLAVOR: ${{ inputs.injiFlavor }}
|
||||
SERVICE_LOCATION: '.'
|
||||
IOS_SERVICE_LOCATION: 'ios'
|
||||
SCRIPT_NAME: "fastlane beta"
|
||||
SCRIPT_NAME: ${{ inputs.enable_auth == 'true' && 'fastlane beta' || 'fastlane ios_ui_automation_build' }}
|
||||
IOS_ARTIFACT_NAME: "ios-artifacts"
|
||||
IOS_ARTIFACT_PATH: "ios/fastlane/Inji_artifacts/"
|
||||
secrets:
|
||||
|
||||
@@ -102,7 +102,7 @@ platform :ios do
|
||||
keychain_name = TEMP_KEYCHAIN_USER
|
||||
keychain_password = TEMP_KEYCHAIN_PASSWORD
|
||||
ensure_temp_keychain(keychain_name, keychain_password)
|
||||
|
||||
|
||||
api_key = app_store_connect_api_key(
|
||||
key_id: "#{APPLE_KEY_ID}",
|
||||
issuer_id: "#{APPLE_ISSUER_ID}",
|
||||
@@ -111,7 +111,7 @@ platform :ios do
|
||||
in_house: false,
|
||||
is_key_content_base64: true
|
||||
)
|
||||
|
||||
|
||||
match(
|
||||
type: 'appstore',
|
||||
app_identifier: "#{generate_app_bundle_id}",
|
||||
@@ -129,18 +129,18 @@ platform :ios do
|
||||
workspace: "Inji.xcworkspace",
|
||||
scheme: "Inji",
|
||||
export_method: "app-store",
|
||||
|
||||
output_directory: "./Inji_artifacts",
|
||||
output_name: "#{generate_app_name}.ipa",
|
||||
export_options: {
|
||||
provisioningProfiles: {
|
||||
"#{generate_app_bundle_id}" => "match AppStore #{generate_app_bundle_id}"
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
delete_temp_keychain(keychain_name)
|
||||
|
||||
end
|
||||
|
||||
|
||||
lane :beta do
|
||||
keychain_name = TEMP_KEYCHAIN_USER
|
||||
keychain_password = TEMP_KEYCHAIN_PASSWORD
|
||||
|
||||
Reference in New Issue
Block a user