mirror of
https://gitea.com/actions/setup-maven.git
synced 2026-12-02 19:39:12 +08:00
draft
This commit is contained in:
1 parent
13190e621a
commit
c66179d93e
10 files changed
+1315
-7
No files matched your search
@@ -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();
|
||||
Reference in new issue
Block a user