mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Fix defaults (#510)
* Fix defaults * Use '' as default for androidExportType
This commit is contained in:
parent
f58ac29d5b
commit
7f2782d3ed
@ -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
|
||||
|
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user