Improve logging (#58)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-04-03 18:15:27 +02:00
committed by GitHub
parent 1a8a264b95
commit 7433b42479
7 changed files with 120 additions and 33 deletions

View File

@@ -1,3 +1,5 @@
import * as core from '@actions/core';
export interface Flavor {
latest: string;
prefix: string;
@@ -38,5 +40,11 @@ export function Transform(inputs: string[]): Flavor {
}
}
core.startGroup(`Processing flavor input`);
core.info(`latest=${flavor.latest}`);
core.info(`prefix=${flavor.prefix}`);
core.info(`suffix=${flavor.suffix}`);
core.endGroup();
return flavor;
}