Skip to content

Commit

Permalink
Enhance outputs display
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Feb 9, 2022
1 parent bdefe3d commit 7ca0f81
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/main.ts
Expand Up @@ -36,13 +36,13 @@ async function run(): Promise<void> {
}
});

await core.group(`Setting outputs`, async () => {
const metadata = await buildx.getMetadata();
if (metadata) {
core.info(`metadata=${metadata}`);
const metadata = await buildx.getMetadata();
if (metadata) {
await core.group(`Metadata output`, async () => {
core.info(metadata);
context.setOutput('metadata', metadata);
}
});
});
}
} catch (error) {
core.setFailed(error.message);
}
Expand Down

0 comments on commit 7ca0f81

Please sign in to comment.