From 7cf1b970afe36fd163eba2e1b6041f7e5056e312 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Fri, 12 Apr 2024 09:49:22 -0400 Subject: [PATCH] connect-timeout-seconds is a better name Signed-off-by: Dave Lee --- .github/workflows/manual-detached-test.yml | 2 +- action.yml | 2 +- lib/index.js | 2 +- src/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/manual-detached-test.yml b/.github/workflows/manual-detached-test.yml index fd084c4..50751ce 100644 --- a/.github/workflows/manual-detached-test.yml +++ b/.github/workflows/manual-detached-test.yml @@ -10,7 +10,7 @@ jobs: with: limit-access-to-actor: true detached: true - connect-timeout: 60 + connect-timeout-seconds: 60 - run: | echo "A busy loop" for value in $(seq 10) diff --git a/action.yml b/action.yml index 3dc5115..ee37834 100644 --- a/action.yml +++ b/action.yml @@ -25,7 +25,7 @@ inputs: description: 'In detached mode, the workflow job will continue while the tmate session is active' required: false default: 'false' - connect-timeout: + connect-timeout-seconds: description: 'How long in seconds to wait for a connection to be established' required: false default: '600' diff --git a/lib/index.js b/lib/index.js index 1b3db33..e328771 100644 --- a/lib/index.js +++ b/lib/index.js @@ -17436,7 +17436,7 @@ async function run() { } })() - let connectTimeoutSeconds = parseInt(core.getInput("connect-timeout")) + let connectTimeoutSeconds = parseInt(core.getInput("connect-timeout-seconds")) if (Number.isNaN(connectTimeoutSeconds) || connectTimeoutSeconds <= 0) { connectTimeoutSeconds = 10 * 60 } diff --git a/src/index.js b/src/index.js index ec91853..7c74b0a 100644 --- a/src/index.js +++ b/src/index.js @@ -50,7 +50,7 @@ export async function run() { } })() - let connectTimeoutSeconds = parseInt(core.getInput("connect-timeout")) + let connectTimeoutSeconds = parseInt(core.getInput("connect-timeout-seconds")) if (Number.isNaN(connectTimeoutSeconds) || connectTimeoutSeconds <= 0) { connectTimeoutSeconds = 10 * 60 }