From e30ac398d1ddc6744c5b6ee1bdd0b4334f8dc94a Mon Sep 17 00:00:00 2001 From: Matthew J Martin <19975+matmar10@users.noreply.github.com> Date: Tue, 5 Apr 2022 00:30:05 +0700 Subject: [PATCH] fix: wait for seconds not milliseconds --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 1fa976e..e3df83d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1525,7 +1525,7 @@ async function run() { let isFinished; do { isFinished = await checkStatus(); - await waitSeconds(5000); + await waitSeconds(5); } while (!isFinished); core.endGroup(); }; diff --git a/index.js b/index.js index 909857c..a0609cf 100644 --- a/index.js +++ b/index.js @@ -149,7 +149,7 @@ async function run() { let isFinished; do { isFinished = await checkStatus(); - await waitSeconds(5000); + await waitSeconds(5); } while (!isFinished); core.endGroup(); };