Avoid unnecessary calls to version (#21)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2020-12-01 05:38:08 +01:00
committed by GitHub
parent c53f88523a
commit ef12c77b87
4 changed files with 19 additions and 17 deletions

View File

@@ -27,7 +27,7 @@ async function run() {
const meta: Meta = new Meta(inputs, context, repo);
const version: Version = meta.version();
const version: Version = meta.version;
core.startGroup(`Docker image version`);
core.info(version.main || '');
core.endGroup();