Validated that int tests work.
This commit is contained in:
parent
dfb30733c8
commit
f79f0beb97
1 changed files with 4 additions and 4 deletions
|
@ -16,12 +16,12 @@ export async function run() {
|
||||||
if (version.toLocaleLowerCase() === 'latest') {
|
if (version.toLocaleLowerCase() === 'latest') {
|
||||||
version = await getStableKubectlVersion();
|
version = await getStableKubectlVersion();
|
||||||
}
|
}
|
||||||
// const cachedPath = await downloadKubectl(version);
|
const cachedPath = await downloadKubectl(version);
|
||||||
|
|
||||||
// core.addPath(path.dirname(cachedPath));
|
core.addPath(path.dirname(cachedPath));
|
||||||
|
|
||||||
// core.debug(`Kubectl tool version: '${version}' has been cached at ${cachedPath}`);
|
core.debug(`Kubectl tool version: '${version}' has been cached at ${cachedPath}`);
|
||||||
// core.setOutput('kubectl-path', cachedPath);
|
core.setOutput('kubectl-path', cachedPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getStableKubectlVersion(): Promise<string> {
|
export async function getStableKubectlVersion(): Promise<string> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue