Skip to content

Commit

Permalink
Print installed Task version
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Giuseppe Lumia committed Dec 2, 2021
1 parent 07d0b87 commit 4b84788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ function getTask(version, repoToken) {
}
toolPath = path.join(toolPath, "bin");
core.addPath(toolPath);
core.info(`Successfully setup Task version ${targetVersion}`);
});
}
exports.getTask = getTask;
Expand Down
1 change: 1 addition & 0 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,5 @@ export async function getTask(version: string, repoToken: string) {

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

0 comments on commit 4b84788

Please sign in to comment.