Skip to content

Commit

Permalink
Merge pull request #1128 from crazy-max/builder-info
Browse files Browse the repository at this point in the history
show builder information before building
  • Loading branch information
crazy-max authored May 29, 2024
2 parents ef6cba3 + 025c205 commit ca052bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ actionsToolkit.run(
await toolkit.buildx.printVersion();
});

await core.group(`Builder info`, async () => {
const builder = await toolkit.builder.inspect(inputs.builder);
core.info(JSON.stringify(builder, null, 2));
});

const args: string[] = await context.getArgs(inputs, toolkit);
core.debug(`context.getArgs: ${JSON.stringify(args)}`);

Expand Down

0 comments on commit ca052bb

Please sign in to comment.