Skip to content

Commit 4b84788

Browse files
author
Giuseppe Lumia
committed
Print installed Task version
This could be useful in case users don't specify an exact version (e.g. `3.x`) but want to know what version of Task their CI actually ran.
1 parent 07d0b87 commit 4b84788

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ function getTask(version, repoToken) {
195195
}
196196
toolPath = path.join(toolPath, "bin");
197197
core.addPath(toolPath);
198+
core.info(`Successfully setup Task version ${targetVersion}`);
198199
});
199200
}
200201
exports.getTask = getTask;

src/installer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,5 @@ export async function getTask(version: string, repoToken: string) {
195195

196196
toolPath = path.join(toolPath, "bin");
197197
core.addPath(toolPath);
198+
core.info(`Successfully setup Task version ${targetVersion}`);
198199
}

0 commit comments

Comments
 (0)