Fix warning spam

pull/529/head
Andrew Kahr 2023-03-05 05:54:00 -08:00
parent 4cf7914f3b
commit d55e46d644
4 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ inputs:
description: 'The android versionCode' description: 'The android versionCode'
androidAppBundle: androidAppBundle:
required: false required: false
default: 'false' default: ''
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

2
dist/index.js vendored
View File

@ -6614,7 +6614,7 @@ class Input {
static get androidAppBundle() { static get androidAppBundle() {
// Only throw warning if defined // Only throw warning if defined
let input = Input.getInput('androidAppBundle'); let input = Input.getInput('androidAppBundle');
if (input !== undefined) { if (input !== '') {
core.warning('androidAppBundle is deprecated, please use androidExportType instead'); core.warning('androidAppBundle is deprecated, please use androidExportType instead');
} }
else { else {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -145,7 +145,7 @@ class Input {
static get androidAppBundle(): boolean { static get androidAppBundle(): boolean {
// Only throw warning if defined // Only throw warning if defined
let input = Input.getInput('androidAppBundle'); let input = Input.getInput('androidAppBundle');
if (input !== undefined) { if (input !== '') {
core.warning('androidAppBundle is deprecated, please use androidExportType instead'); core.warning('androidAppBundle is deprecated, please use androidExportType instead');
} else { } else {
input = 'false'; input = 'false';