diff --git a/dist/index.js b/dist/index.js index 9f932e3..2bd4f59 100644 --- a/dist/index.js +++ b/dist/index.js @@ -49715,7 +49715,7 @@ async function waitForRunnerRegistered(label) { } core.error( - `A timeout of ${timeoutSeconds} minutes is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` + `A timeout of ${timeoutSeconds} seconds is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` ) throw new Error('GitHub self-hosted runner registration error') } diff --git a/src/gh.js b/src/gh.js index 83222b3..ca1e134 100644 --- a/src/gh.js +++ b/src/gh.js @@ -55,7 +55,7 @@ async function waitForRunnerRegistered(label) { } core.error( - `A timeout of ${timeoutSeconds} minutes is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` + `A timeout of ${timeoutSeconds} seconds is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` ) throw new Error('GitHub self-hosted runner registration error') }