Skip to content

Commit

Permalink
fix: Log tool versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Oct 18, 2023
1 parent 4246584 commit 983f22c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,12 @@ export async function installBin(bin: string) {
});

core.info(`Installed binary to ${binPath}`);

core.info('Checking version');

try {
await execa(binPath, ['--version']);
} catch (error) {
core.error(String(error));
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@moonrepo/setup-toolchain",
"version": "0.0.3",
"version": "0.0.4",
"description": "A GitHub action to setup and cache the proto and moon toolchains. ",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 983f22c

Please sign in to comment.