From f79f0beb97a0c75392ff632668d0dffec85c30ab Mon Sep 17 00:00:00 2001 From: Tommy Barnes Date: Tue, 4 Jan 2022 16:13:12 -0500 Subject: [PATCH] Validated that int tests work. --- src/run.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/run.ts b/src/run.ts index f37f03f..5a2d2f6 100644 --- a/src/run.ts +++ b/src/run.ts @@ -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 {