chore: add better failure message for version resolving failures on kubectl
This commit is contained in:
@@ -36,7 +36,7 @@ export async function installKubectl() {
|
|||||||
debug(`kubectl ${version} installed and cached at ${path}`)
|
debug(`kubectl ${version} installed and cached at ${path}`)
|
||||||
} catch {
|
} catch {
|
||||||
debug('Failed to download kubectl from dl.k8s.io')
|
debug('Failed to download kubectl from dl.k8s.io')
|
||||||
setFailed('Failed to download kubectl from dl.k8s.io')
|
setFailed('Failed to download kubectl from dl.k8s.io\nPlease check the version you specified is valid')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user