Replace use_apk_signer with signer_tool step input #88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
step.yml
andREADME.md
is updated with the changes (if needed)Version
Requires a MAJOR version update
Context
The Step currently uses
jarsigner
by default for signing APK files (use_apk_signer: "false"
), this PR switches toapksigner
as a default tool for signing APK files.The change is done by introducing a new step input
signer_tool
which replaces the previoususe_apk_signer
input.signer_tool
indicates which tool should be used for signing the app, the available options:automatic
(default value): Uses theapksigner
tool to sign an APK andjarsigner
tool to sign an AAB file.apksigner
: Uses theapksigner
tool to sign the app.jarsigner
: Uses thejarsigner
tool to sign the app.Changes
signer_tool
replaces the previoususe_apk_signer
inputtest_apk
->test_apk_signing
test_apk_debug
->test_debug_apk_signing
test_bundle
->test_app_bundle_signing
_run_collection
->_build_app_and_sign_with_keystore_combinations
utility_test_<test_name>
->_sign_with_<test_name>
_run
->_sign_app
_jarsigner_all_tests
and_apksigner_all_tests
workflows are removed and_sign_with_jarsigner_with_keystore_with_same_pass
and_sign_with_apksigner_with_keystore_with_diff_pass
workflows are testing the none default signer tool inputs