Improve logging (#58)

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

No files matched your search

+8
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;
}