Initial commit

This commit is contained in:
CrazyMax
2019-09-20 22:23:45 +02:00
commit e28e23212c
778 changed files with 75786 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import * as installer from './installer';
import * as core from '@actions/core';
import * as exec from '@actions/exec';
async function run() {
try {
const version = core.getInput('version') || 'latest';
const args = core.getInput('args');
const goreleaser = await installer.getGoReleaser(version);
console.log('🏃 Running GoReleaser...');
await exec.exec(`${goreleaser} ${args}`);
} catch (error) {
core.setFailed(error.message);
}
}
run();