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:
Carlos Alexandro Becker
2023-01-27 23:22:07 -03:00
committed by GitHub
parent b1a238106b
commit 9754a253a8
16 changed files with 834 additions and 29 deletions
+2
View File
@@ -10,6 +10,7 @@ export interface Inputs {
args: string;
workdir: string;
installOnly: boolean;
githubToken: string;
}
export async function getInputs(): Promise<Inputs> {
@@ -18,6 +19,7 @@ export async function getInputs(): Promise<Inputs> {
version: core.getInput('version'),
args: core.getInput('args'),
workdir: core.getInput('workdir') || '.',
githubToken: core.getInput('github-token'),
installOnly: core.getBooleanInput('install-only')
};
}