Improve deprecation warning

pull/505/head
Andrew Kahr 2023-02-11 03:28:05 -08:00
parent d49fdb51f2
commit 899cb85628
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -7210,6 +7210,7 @@ class Input {
return Input.getInput('androidVersionCode'); return Input.getInput('androidVersionCode');
} }
static get androidAppBundle() { static get androidAppBundle() {
core.warning('androidAppBundle is deprecated, please use androidExportType instead in the Unity-Build-Action');
const input = Input.getInput('androidAppBundle') || false; const input = Input.getInput('androidAppBundle') || false;
return input === 'true'; return input === 'true';
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -134,6 +134,7 @@ class Input {
} }
static get androidAppBundle() { static get androidAppBundle() {
core.warning('androidAppBundle is deprecated, please use androidExportType instead in the Unity-Build-Action');
const input = Input.getInput('androidAppBundle') || false; const input = Input.getInput('androidAppBundle') || false;
return input === 'true'; return input === 'true';