mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-03 05:29:52 +11:00
Add input to allow to cleanup Dagger home folder at the end of a job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
559f0e73bf
commit
66fd1bdf2e
6 changed files with 95 additions and 4 deletions
|
|
@ -6,6 +6,7 @@ export interface Inputs {
|
|||
workdir: string;
|
||||
args: string;
|
||||
installOnly: boolean;
|
||||
cleanup: boolean;
|
||||
}
|
||||
|
||||
export async function getInputs(): Promise<Inputs> {
|
||||
|
|
@ -14,6 +15,7 @@ export async function getInputs(): Promise<Inputs> {
|
|||
ageKey: core.getInput('age-key'),
|
||||
workdir: core.getInput('workdir') || '.',
|
||||
args: core.getInput('args'),
|
||||
installOnly: core.getBooleanInput('install-only')
|
||||
installOnly: core.getBooleanInput('install-only'),
|
||||
cleanup: core.getBooleanInput('cleanup')
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue