Initial commit

This commit is contained in:
Rachael Sewell
2019-08-03 14:44:52 -07:00
commit d8c14008f1
12 changed files with 401 additions and 0 deletions

14
index.js Normal file
View File

@@ -0,0 +1,14 @@
const core = require('@actions/core');
async function run() {
try {
const nameToGreet = core.getInput('who-to-greet');
core.debug(`Hello ${nameToGreet}!`);
const time = (new Date()).toTimeString();
core.setOutput("time", time);
} catch (error) {
core.setFailed(error.message);
}
}
run();