Test GitHub Cache

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-16 22:31:37 +02:00
parent 5003e0df3d
commit 22acf7cb32
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
10 changed files with 54626 additions and 51 deletions

View file

@ -18,6 +18,7 @@ export interface Inputs {
outputs: string[];
cacheFrom: string[];
cacheTo: string[];
cacheGithub: boolean;
bake: boolean;
bakeFiles: string[];
bakeTargets: string[];
@ -41,6 +42,7 @@ export async function getInputs(): Promise<Inputs> {
outputs: await getInputList('outputs'),
cacheFrom: await getInputList('cache-from'),
cacheTo: await getInputList('cache-to'),
cacheGithub: /true/i.test(core.getInput('cache-github')),
bake: /true/i.test(core.getInput('bake')),
bakeFiles: await getInputList('bake-files'),
bakeTargets: await getInputList('bake-targets')