Avoid unnecessary calls to version (#21)

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

No files matched your search

+1 -1
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();