mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-10-19 04:01:15 +08:00
13 lines
222 B
TypeScript
13 lines
222 B
TypeScript
|
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();
|