Update default value
parent
717f717e07
commit
b45613bf02
|
|
@ -100,7 +100,7 @@ inputs:
|
|||
description: 'The android keyaliasPass'
|
||||
androidTargetSdkVersion:
|
||||
required: false
|
||||
default: 'AndroidApiLevelAuto'
|
||||
default: ''
|
||||
description: 'The android target API level.'
|
||||
customParameters:
|
||||
required: false
|
||||
|
|
|
|||
|
|
@ -675,7 +675,7 @@ class Input {
|
|||
return core.getInput('androidKeyaliasPass') || '';
|
||||
}
|
||||
static get androidTargetSdkVersion() {
|
||||
return core.getInput('androidTargetSdkVersion') || 'AndroidApiLevelAuto';
|
||||
return core.getInput('androidTargetSdkVersion') || '';
|
||||
}
|
||||
static get allowDirtyBuild() {
|
||||
const input = core.getInput('allowDirtyBuild') || false;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -228,7 +228,7 @@ describe('Input', () => {
|
|||
|
||||
describe('androidTargetSdkVersion', () => {
|
||||
it('returns the default value', () => {
|
||||
expect(Input.androidTargetSdkVersion).toStrictEqual('AndroidApiLevelAuto');
|
||||
expect(Input.androidTargetSdkVersion).toStrictEqual('');
|
||||
});
|
||||
|
||||
it('takes input from the users workflow', () => {
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class Input {
|
|||
}
|
||||
|
||||
static get androidTargetSdkVersion() {
|
||||
return core.getInput('androidTargetSdkVersion') || 'AndroidApiLevelAuto';
|
||||
return core.getInput('androidTargetSdkVersion') || '';
|
||||
}
|
||||
|
||||
static get allowDirtyBuild() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue