diff --git a/action.yml b/action.yml index 29d4ffa5..94623a74 100644 --- a/action.yml +++ b/action.yml @@ -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 diff --git a/dist/index.js b/dist/index.js index 3bf6f6b8..09bcfe59 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index d877d297..c516a18c 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/input.ts b/src/model/input.ts index 465663c4..368e91fa 100644 --- a/src/model/input.ts +++ b/src/model/input.ts @@ -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';