From ee4b4919bfaf638af868484193fe5bb609e545c9 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Wed, 13 Aug 2025 16:50:05 -0500 Subject: [PATCH] Make latest build --- dist/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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();