2019-09-02 16:34:28 -05:00
|
|
|
// import * as core from '@actions/core';
|
|
|
|
|
const core = require('@actions/core')
|
2019-09-02 16:11:57 -05:00
|
|
|
|
|
|
|
|
async function run() {
|
|
|
|
|
console.log(process.env)
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
const myInput = core.getInput('myInput')
|
|
|
|
|
core.debug(`Hello ${myInput}`)
|
|
|
|
|
} catch (error) {
|
|
|
|
|
core.setFailed(error.message)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
run()
|