Adding tool binaries to PATH (#4)
* Adding tool binaries to PATH * Resolving PR comments
This commit is contained in:
parent
9b492bbd34
commit
b7b3104215
2 changed files with 6 additions and 1 deletions
|
@ -70,6 +70,9 @@ async function run() {
|
|||
version = await getStableKubectlVersion();
|
||||
}
|
||||
let cachedPath = await downloadKubectl(version);
|
||||
|
||||
core.addPath(path.dirname(cachedPath));
|
||||
|
||||
console.log(`Kubectl tool version: '${version}' has been cached at ${cachedPath}`);
|
||||
core.setOutput('kubectl-path', cachedPath);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue