diff --git a/src/internal/deployment.js b/src/internal/deployment.js index 5d02562..6c66ae9 100644 --- a/src/internal/deployment.js +++ b/src/internal/deployment.js @@ -55,7 +55,7 @@ class Deployment { } let timeoutInput = Number(core.getInput('timeout')) - this.timeout = timeoutInput <= 0 ? maxTimeout : Math.min(timeoutInput, maxTimeout) + this.timeout = (!timeoutInput || timeoutInput <= 0) ? maxTimeout : Math.min(timeoutInput, maxTimeout) try { core.debug(`Actor: ${this.buildActor}`)