mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-08 23:37:32 +00:00
feat: support downloading goreleaser pro (#284)
This commit is contained in:
committed by
GitHub
parent
a3b2f49e7c
commit
70eb4e573c
+2
-1
@@ -6,11 +6,12 @@ import {dirname} from 'path';
|
||||
|
||||
async function run(): Promise<void> {
|
||||
try {
|
||||
const distribution = core.getInput('distribution') || 'goreleaser';
|
||||
const version = core.getInput('version') || 'latest';
|
||||
const args = core.getInput('args');
|
||||
const workdir = core.getInput('workdir') || '.';
|
||||
const isInstallOnly = /^true$/i.test(core.getInput('install-only'));
|
||||
const goreleaser = await installer.getGoReleaser(version);
|
||||
const goreleaser = await installer.getGoReleaser(distribution, version);
|
||||
core.info(`✅ GoReleaser installed successfully`);
|
||||
|
||||
if (isInstallOnly) {
|
||||
|
||||
Reference in New Issue
Block a user