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'
|
description: '[Deprecated] Use androidExportType instead. Whether to build .aab instead of .apk'
|
||||||
androidExportType:
|
androidExportType:
|
||||||
required: false
|
required: false
|
||||||
default: 'androidPackage'
|
default: ''
|
||||||
description:
|
description:
|
||||||
'The android export type. Should be androidPackage for apk, androidAppBundle for aab, or androidStudioProject for
|
'The android export type. Should be androidPackage for apk, androidAppBundle for aab, or androidStudioProject for
|
||||||
an android studio project.'
|
an android studio project.'
|
||||||
@ -83,11 +83,11 @@ inputs:
|
|||||||
description: 'The android target API level.'
|
description: 'The android target API level.'
|
||||||
androidSymbolType:
|
androidSymbolType:
|
||||||
required: false
|
required: false
|
||||||
default: 'none'
|
default: 'public'
|
||||||
description: 'The android symbol type to export. Should be "none", "public" or "debugging".'
|
description: 'The android symbol type to export. Should be "none", "public" or "debugging".'
|
||||||
sshAgent:
|
sshAgent:
|
||||||
required: false
|
required: false
|
||||||
default: 'public'
|
default: ''
|
||||||
description: 'SSH Agent path to forward to the container'
|
description: 'SSH Agent path to forward to the container'
|
||||||
gitPrivateToken:
|
gitPrivateToken:
|
||||||
required: false
|
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() {
|
static get androidExportType() {
|
||||||
// TODO: remove this in V3
|
// TODO: remove this in V3
|
||||||
const exportType = Input.getInput('androidExportType');
|
const exportType = Input.getInput('androidExportType') || '';
|
||||||
|
|
||||||
if (exportType) {
|
if (exportType !== '') {
|
||||||
return exportType || 'androidPackage';
|
return exportType;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Input.androidAppBundle ? 'androidAppBundle' : 'androidPackage';
|
return Input.androidAppBundle ? 'androidAppBundle' : 'androidPackage';
|
||||||
|
Loading…
Reference in New Issue
Block a user