setup-rust-action/src/main.ts

13 lines
222 B
TypeScript
Raw Normal View History

2019-08-15 17:16:59 +00:00
import * as core from '@actions/core';
async function run() {
try {
const myInput = core.getInput('myInput');
core.debug(`Hello ${myInput}`);
} catch (error) {
core.setFailed(error.message);
}
}
run();