Skip to content

Commit

Permalink
feat(install): print version after CLI installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ahume committed Jul 17, 2020
1 parent 0941510 commit 201f2d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install-cli/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const core = require('@actions/core');
const tc = require('@actions/tool-cache');
const exec = require('@actions/exec');

async function run() {
try {
Expand All @@ -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) {
Expand Down

0 comments on commit 201f2d1

Please sign in to comment.