mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 07:43:14 +00:00
Some checks are pending
Deploy / Deploy to AWS (push) Waiting to run
The app_store_connect_api_key action fails with "invalid curve name" when is_key_content_base64 is true on macOS runners with OpenSSL 3.x. Decoding the key manually and passing the raw PEM content avoids the OpenSSL incompatibility. Also reverts the Fastlane version pin since 2.235.0 doesn't exist.
34 lines
840 B
Ruby
34 lines
840 B
Ruby
default_platform(:ios)
|
|
|
|
platform :ios do
|
|
desc "Build and upload to TestFlight"
|
|
lane :beta do
|
|
setup_ci
|
|
|
|
key_content = Base64.decode64(ENV["ASC_KEY_CONTENT"])
|
|
app_store_connect_api_key(
|
|
key_id: ENV["ASC_KEY_ID"],
|
|
issuer_id: ENV["ASC_ISSUER_ID"],
|
|
key_content: key_content,
|
|
is_key_content_base64: false
|
|
)
|
|
|
|
match(type: "appstore", readonly: true)
|
|
|
|
increment_build_number(
|
|
build_number: ENV["GITHUB_RUN_NUMBER"],
|
|
xcodeproj: "ios/ProposalSystem.xcodeproj"
|
|
)
|
|
|
|
build_app(
|
|
workspace: "ios/ProposalSystem.xcworkspace",
|
|
scheme: "ProposalSystem",
|
|
configuration: "Release",
|
|
export_method: "app-store",
|
|
output_directory: "build",
|
|
output_name: "ProposalSystem.ipa"
|
|
)
|
|
|
|
upload_to_testflight(skip_waiting_for_build_processing: true)
|
|
end
|
|
end
|