Adding tool binaries to PATH (#4)
* Adding tool binaries to PATH * Resolving PR comments
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user