Update default value

pull/298/head
David Finol 2021-11-17 20:12:35 -06:00
parent 717f717e07
commit b45613bf02
5 changed files with 5 additions and 5 deletions

View File

@ -100,7 +100,7 @@ inputs:
description: 'The android keyaliasPass' description: 'The android keyaliasPass'
androidTargetSdkVersion: androidTargetSdkVersion:
required: false required: false
default: 'AndroidApiLevelAuto' default: ''
description: 'The android target API level.' description: 'The android target API level.'
customParameters: customParameters:
required: false required: false

2
dist/index.js vendored
View File

@ -675,7 +675,7 @@ class Input {
return core.getInput('androidKeyaliasPass') || ''; return core.getInput('androidKeyaliasPass') || '';
} }
static get androidTargetSdkVersion() { static get androidTargetSdkVersion() {
return core.getInput('androidTargetSdkVersion') || 'AndroidApiLevelAuto'; return core.getInput('androidTargetSdkVersion') || '';
} }
static get allowDirtyBuild() { static get allowDirtyBuild() {
const input = core.getInput('allowDirtyBuild') || false; const input = core.getInput('allowDirtyBuild') || false;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -228,7 +228,7 @@ describe('Input', () => {
describe('androidTargetSdkVersion', () => { describe('androidTargetSdkVersion', () => {
it('returns the default value', () => { it('returns the default value', () => {
expect(Input.androidTargetSdkVersion).toStrictEqual('AndroidApiLevelAuto'); expect(Input.androidTargetSdkVersion).toStrictEqual('');
}); });
it('takes input from the users workflow', () => { it('takes input from the users workflow', () => {

View File

@ -76,7 +76,7 @@ class Input {
} }
static get androidTargetSdkVersion() { static get androidTargetSdkVersion() {
return core.getInput('androidTargetSdkVersion') || 'AndroidApiLevelAuto'; return core.getInput('androidTargetSdkVersion') || '';
} }
static get allowDirtyBuild() { static get allowDirtyBuild() {