From dcb366ca66a9b818c9b37526c29582a701cca704 Mon Sep 17 00:00:00 2001 From: Greta Parks Date: Fri, 12 May 2023 09:40:31 -0600 Subject: [PATCH] Update src/internal/deployment.js Co-authored-by: James M. Greene --- src/internal/deployment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`)