Validated that int tests work.

This commit is contained in:
Tommy Barnes 2022-01-04 16:13:12 -05:00
parent dfb30733c8
commit f79f0beb97

View file

@ -16,12 +16,12 @@ export async function run() {
if (version.toLocaleLowerCase() === 'latest') {
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.setOutput('kubectl-path', cachedPath);
core.debug(`Kubectl tool version: '${version}' has been cached at ${cachedPath}`);
core.setOutput('kubectl-path', cachedPath);
}
export async function getStableKubectlVersion(): Promise<string> {