Fix defaults (#510)

* Fix defaults

* Use '' as default for androidExportType
This commit is contained in:
AndrewKahr
2023-02-19 20:23:37 -08:00
committed by GitHub
parent f58ac29d5b
commit 7f2782d3ed
4 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -53,7 +53,7 @@ inputs:
description: '[Deprecated] Use androidExportType instead. Whether to build .aab instead of .apk'
androidExportType:
required: false
default: 'androidPackage'
default: ''
description:
'The android export type. Should be androidPackage for apk, androidAppBundle for aab, or androidStudioProject for
an android studio project.'
@@ -83,11 +83,11 @@ inputs:
description: 'The android target API level.'
androidSymbolType:
required: false
default: 'none'
default: 'public'
description: 'The android symbol type to export. Should be "none", "public" or "debugging".'
sshAgent:
required: false
default: 'public'
default: ''
description: 'SSH Agent path to forward to the container'
gitPrivateToken:
required: false
Generated Vendored
+3 -3
View File
@@ -7231,9 +7231,9 @@ class Input {
}
static get androidExportType() {
// TODO: remove this in V3
const exportType = Input.getInput('androidExportType');
if (exportType) {
return exportType || 'androidPackage';
const exportType = Input.getInput('androidExportType') || '';
if (exportType !== '') {
return exportType;
}
return Input.androidAppBundle ? 'androidAppBundle' : 'androidPackage';
// End TODO
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -142,10 +142,10 @@ class Input {
static get androidExportType() {
// TODO: remove this in V3
const exportType = Input.getInput('androidExportType');
const exportType = Input.getInput('androidExportType') || '';
if (exportType) {
return exportType || 'androidPackage';
if (exportType !== '') {
return exportType;
}
return Input.androidAppBundle ? 'androidAppBundle' : 'androidPackage';