Initial commit

This commit is contained in:
Danny McCormick
2019-08-02 17:15:36 +00:00
commit a10eefa292
17 changed files with 219 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
const core = require('@actions/core');
const github = require('@actions/github');
async function run() {
try {
const myInput = core.getInput('myInput');
core.debug(`Hello ${myInput} from inside a container`);
// Get github context data
const context = github.context;
console.log(`We can even get context data, like the repo: ${context.repo.repo}`)
} catch (error) {
core.setFailed(error.message);
}
}
run();