diff --git a/src/index.ts b/src/index.ts index 88bc742f..e499ac8a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,10 @@ import {installOctopusCli} from './octopus-cli' async function run(): Promise { try { - const version = getInput('version') || 'latest' + var version = getInput('version') || '*' + if (version === 'latest') { + version = '*' + } const octopusCli = await installOctopusCli(version) const octopusCliDir = dirname(octopusCli) addPath(octopusCliDir)