Update default value
parent
717f717e07
commit
b45613bf02
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -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', () => {
|
||||||
|
|
|
||||||
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue