Skip to content

Commit a7ad1bf

Browse files
committed
Fix boot timeout
1 parent e163eaf commit a7ad1bf

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async function run(): Promise<void> {
8989
const bootRetries = Number(core.getInput('boot_retries'))
9090

9191
const bootTimeoutMs =
92-
bootTimeoutSeconds > 0 ? bootRetries * 1000 : undefined
92+
bootTimeoutSeconds > 0 ? bootTimeoutSeconds * 1000 : undefined
9393

9494
core.info(`Waiting for device to finish booting.`)
9595
const maxAttempts = bootRetries + 1

0 commit comments

Comments
 (0)