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:
CrazyMax
2023-01-30 14:11:41 +01:00
committed by GitHub
parent 9754a253a8
commit f82d6c1c34
16 changed files with 103 additions and 827 deletions
+1 -3
View File
@@ -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')
};
}