Skip to content

Commit 06f69cf

Browse files
authored
fix: forceNewDeployment input to take a boolean (#150)
1 parent 3ca1b2b commit 06f69cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ async function run() {
381381
waitForMinutes = MAX_WAIT_MINUTES;
382382
}
383383

384-
const forceNewDeployInput = core.getInput('force-new-deployment', { required: false });
384+
const forceNewDeployInput = core.getInput('force-new-deployment', { required: false }) || false;
385385
const forceNewDeployment = forceNewDeployInput != undefined && (forceNewDeployInput.toLowerCase === 'true' || forceNewDeployInput);
386386

387387
// Register the task definition

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ async function run() {
223223
waitForMinutes = MAX_WAIT_MINUTES;
224224
}
225225

226-
const forceNewDeployInput = core.getInput('force-new-deployment', { required: false });
226+
const forceNewDeployInput = core.getInput('force-new-deployment', { required: false }) || false;
227227
const forceNewDeployment = forceNewDeployInput != undefined && (forceNewDeployInput.toLowerCase === 'true' || forceNewDeployInput);
228228

229229
// Register the task definition

0 commit comments

Comments
 (0)