SetUp for L0 TestCases

This commit is contained in:
raghaves 2020-06-13 12:30:23 +05:30
parent b7b3104215
commit 2f3751f37e
8 changed files with 105 additions and 4 deletions

View file

@ -64,7 +64,7 @@ async function downloadKubectl(version: string): Promise<string> {
return kubectlPath;
}
async function run() {
export async function run() {
let version = core.getInput('version', { 'required': true });
if (version.toLocaleLowerCase() === 'latest') {
version = await getStableKubectlVersion();