set github token to list releases and download assets

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-11-03 23:12:51 +01:00
parent b71d5ee00d
commit 276a2f38a4
4 changed files with 21 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ export interface Inputs {
setHost: boolean;
rootless: boolean;
runtimeBasedir: string;
githubToken: string;
}
export function getInputs(): Inputs {
@@ -31,7 +32,8 @@ export function getInputs(): Inputs {
context: core.getInput('context'),
setHost: core.getBooleanInput('set-host'),
rootless: core.getBooleanInput('rootless'),
runtimeBasedir: core.getInput('runtime-basedir') || path.join(os.homedir(), `setup-docker-action`)
runtimeBasedir: core.getInput('runtime-basedir') || path.join(os.homedir(), `setup-docker-action`),
githubToken: core.getInput('github-token')
};
}