Skip to content

Commit ca052bb

Browse files
authored
Merge pull request #1128 from crazy-max/builder-info
show builder information before building
2 parents ef6cba3 + 025c205 commit ca052bb

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ actionsToolkit.run(
7575
await toolkit.buildx.printVersion();
7676
});
7777

78+
await core.group(`Builder info`, async () => {
79+
const builder = await toolkit.builder.inspect(inputs.builder);
80+
core.info(JSON.stringify(builder, null, 2));
81+
});
82+
7883
const args: string[] = await context.getArgs(inputs, toolkit);
7984
core.debug(`context.getArgs: ${JSON.stringify(args)}`);
8085

0 commit comments

Comments
 (0)