mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-09 20:17:31 +00:00
fix: don't depend on the GitHub API to check release (#391)
* fix: don't depend on the GitHub API to check release * chore: update generated content --------- Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
+1
-3
@@ -10,16 +10,14 @@ export interface Inputs {
|
||||
args: string;
|
||||
workdir: string;
|
||||
installOnly: boolean;
|
||||
githubToken: string;
|
||||
}
|
||||
|
||||
export async function getInputs(): Promise<Inputs> {
|
||||
return {
|
||||
distribution: core.getInput('distribution') || 'goreleaser',
|
||||
version: core.getInput('version'),
|
||||
version: core.getInput('version') || 'latest',
|
||||
args: core.getInput('args'),
|
||||
workdir: core.getInput('workdir') || '.',
|
||||
githubToken: core.getInput('github-token'),
|
||||
installOnly: core.getBooleanInput('install-only')
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user