This commit is contained in:
stCarolas
2019-12-07 16:09:20 +03:00
parent 13190e621a
commit c66179d93e
10 changed files with 1315 additions and 7 deletions

15
src/setup-maven.ts Normal file
View File

@ -0,0 +1,15 @@
import * as core from '@actions/core';
import * as installer from './installer';
async function run() {
try {
let version = core.getInput('maven-version');
if (version) {
await installer.getMaven(version);
}
} catch (error) {
core.setFailed(error.message);
}
}
run();