text: const core = require('@actions/core');
  
  async function run() {
    try {
      const ms = core.getInput('milliseconds');
      core.debug(`Waiting ${ms} milliseconds ...`); // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true
  
      core.debug(new Date().toTimeString());
      await new Promise(resolve => {
        setTimeout(() => resolve('done!'), 10);
      });
      core.debug(new Date().toTimeString());
  
      core.setOutput('time', new Date().toTimeString());
    } catch (error) {
      core.setFailed(error.message);
    }
  }
  
  run();
  