diff --git a/dist/index.js b/dist/index.js index a0736a6..a4233d2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -34870,7 +34870,9 @@ const version_1 = __nccwpck_require__(8950); const cli_installer_1 = __nccwpck_require__(2846); // Installs the 1Password CLI on a GitHub Action runner. const installCliOnGithubActionRunner = async (version) => { - const versionResolver = new version_1.VersionResolver(version ?? core.getInput("version")); + // Get the version from parameter, if not passed - from the job input. Defaults to latest if no version is provided + const providedVersion = version || core.getInput("version") || version_1.ReleaseChannel.latest; + const versionResolver = new version_1.VersionResolver(providedVersion); await versionResolver.resolve(); const installer = (0, cli_installer_1.newCliInstaller)(versionResolver.get()); await installer.installCli();