mirror of
https://github.com/actions/javascript-action.git
synced 2025-12-12 05:36:56 +00:00
Actually await wait.js
This commit is contained in:
committed by
GitHub
parent
c4da6cbeb3
commit
5fc9bf9e92
2
index.js
2
index.js
@@ -9,7 +9,7 @@ async function run() {
|
|||||||
console.log(`Waiting ${ms} milliseconds ...`)
|
console.log(`Waiting ${ms} milliseconds ...`)
|
||||||
|
|
||||||
core.debug((new Date()).toTimeString())
|
core.debug((new Date()).toTimeString())
|
||||||
wait(parseInt(ms));
|
await wait(parseInt(ms));
|
||||||
core.debug((new Date()).toTimeString())
|
core.debug((new Date()).toTimeString())
|
||||||
|
|
||||||
core.setOutput('time', new Date().toTimeString());
|
core.setOutput('time', new Date().toTimeString());
|
||||||
|
|||||||
Reference in New Issue
Block a user