File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -34870,7 +34870,9 @@ const version_1 = __nccwpck_require__(8950);
3487034870const cli_installer_1 = __nccwpck_require__(2846);
3487134871// Installs the 1Password CLI on a GitHub Action runner.
3487234872const installCliOnGithubActionRunner = async (version) => {
34873- const versionResolver = new version_1.VersionResolver(version ?? core.getInput("version"));
34873+ // Get the version from parameter, if not passed - from the job input. Defaults to latest if no version is provided
34874+ const providedVersion = version || core.getInput("version") || version_1.ReleaseChannel.latest;
34875+ const versionResolver = new version_1.VersionResolver(providedVersion);
3487434876 await versionResolver.resolve();
3487534877 const installer = (0, cli_installer_1.newCliInstaller)(versionResolver.get());
3487634878 await installer.installCli();
You can’t perform that action at this time.
0 commit comments