mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-08 23:37:32 +00:00
fix: use @action/github (#390)
* fix: use @action/github Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com> Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> * Update README.md Co-authored-by: CrazyMax <github@crazymax.dev> * Update action.yml Co-authored-by: CrazyMax <github@crazymax.dev> --------- Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com> Co-authored-by: CrazyMax <github@crazymax.dev>
This commit is contained in:
committed by
GitHub
parent
b1a238106b
commit
9754a253a8
+1
-1
@@ -9,7 +9,7 @@ import * as exec from '@actions/exec';
|
||||
async function run(): Promise<void> {
|
||||
try {
|
||||
const inputs: context.Inputs = await context.getInputs();
|
||||
const bin = await goreleaser.install(inputs.distribution, inputs.version);
|
||||
const bin = await goreleaser.install(inputs.distribution, inputs.version, inputs.githubToken);
|
||||
core.info(`GoReleaser ${inputs.version} installed successfully`);
|
||||
|
||||
if (inputs.installOnly) {
|
||||
|
||||
Reference in New Issue
Block a user