diff --git a/index.js b/index.js index ee57a25..8f72880 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ async function run() { console.log(`Waiting ${ms} milliseconds ...`) core.debug((new Date()).toTimeString()) - wait(parseInt(ms)); + await wait(parseInt(ms)); core.debug((new Date()).toTimeString()) core.setOutput('time', new Date().toTimeString());