Try out Android APK on GitHub

This commit is contained in:
Zhiyuan Zheng 2021-03-25 00:52:15 +01:00
parent f3852025ba
commit d80d864bc5
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
2 changed files with 17 additions and 1 deletions

View File

@ -57,6 +57,7 @@ private_lane :github_release do |options|
description: "No changelog provided",
commitish: git_branch,
is_prerelease: options[:prerelease]
upload_assets: [lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]]
)
end
@ -125,6 +126,21 @@ private_lane :build_android do
skip_upload_images: true,
skip_upload_screenshots: true
)
build_android_app(
task: 'assemble',
build_type: 'release',
project_dir: "./android",
print_command: false,
print_command_output: false,
properties: {
"expoSDK" => VERSIONS[:expo],
"releaseChannel" => RELEASE_CHANNEL,
"android.injected.signing.store.file" => "#{File.expand_path('..', Dir.pwd)}/android/tooot.jks",
"android.injected.signing.store.password" => ENV["ANDROID_KEYSTORE_PASSWORD"],
"android.injected.signing.key.alias" => ENV["ANDROID_KEYSTORE_ALIAS"],
"android.injected.signing.key.password" => ENV["ANDROID_KEYSTORE_KEY_PASSWORD"],
}
)
when "release"
else
if !is_ci

View File

@ -4,7 +4,7 @@
"native": "210317",
"major": 0,
"minor": 7,
"patch": 0,
"patch": 1,
"expo": "40.0.0"
},
"description": "tooot app for Mastodon",