Skip to content

Commit

Permalink
connect-timeout-seconds is a better name
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Lee <[email protected]>
  • Loading branch information
dave-gray101 committed Apr 12, 2024
1 parent 90ffb18 commit 7cf1b97
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/manual-detached-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 7cf1b97

Please sign in to comment.