diff --git a/helpers.ts b/helpers.ts index 611e229..be02b64 100644 --- a/helpers.ts +++ b/helpers.ts @@ -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)); + } } diff --git a/package.json b/package.json index 4c56013..05739ce 100644 --- a/package.json +++ b/package.json @@ -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": {