text: const core = require("@actions/core");
  const github = require("@actions/github");
  
  try {
    const name = core.getInput("who-to-greet");
  
    if (name === "error") {
      throw new Error('Name "error" is invalid!');
    }
  
    console.log(`Hello ${name}`);
  
    const time = new Date();
    core.setOutput("time", time.toISOString());
  
    //console.log(JSON.stringify(github, null, "\t"));
  } catch (error) {
    core.setFailed(error.message);
  }
  