From 201f2d1ba72674f7f3c4e41c17ec7f598cae81ee Mon Sep 17 00:00:00 2001 From: Andy Hume Date: Fri, 17 Jul 2020 14:47:41 +0100 Subject: [PATCH] feat(install): print version after CLI installed --- install-cli/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-cli/index.js b/install-cli/index.js index a75b42f..e75d647 100644 --- a/install-cli/index.js +++ b/install-cli/index.js @@ -1,5 +1,6 @@ const core = require('@actions/core'); const tc = require('@actions/tool-cache'); +const exec = require('@actions/exec'); async function run() { try { @@ -11,6 +12,7 @@ async function run() { const slipstreamExtractedFolder = await tc.extractTar(slipstreamPath, destPath); const cachedPath = await tc.cacheDir(slipstreamExtractedFolder, 'slipstream', 'latest'); core.addPath(cachedPath); + await exec.exec('slipstream', ['version'], {}); core.info('Success'); core.endGroup(); } catch (err) {