mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-03 13:49:45 +11:00
feat: add 'cmds' input
Signed-off-by: João Fernandes <joaofnds@joaofnds.com>
This commit is contained in:
parent
d1bb14ca11
commit
056e107b22
6 changed files with 47 additions and 11 deletions
|
|
@ -6,6 +6,7 @@ export interface Inputs {
|
|||
args: string;
|
||||
installOnly: boolean;
|
||||
cleanup: boolean;
|
||||
cmds: string[];
|
||||
}
|
||||
|
||||
export async function getInputs(): Promise<Inputs> {
|
||||
|
|
@ -14,7 +15,8 @@ export async function getInputs(): Promise<Inputs> {
|
|||
workdir: core.getInput('workdir') || '.',
|
||||
args: core.getInput('args'),
|
||||
installOnly: core.getBooleanInput('install-only'),
|
||||
cleanup: core.getBooleanInput('cleanup')
|
||||
cleanup: core.getBooleanInput('cleanup'),
|
||||
cmds: await getInputList('cmds')
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue