Skip to content

Commit ee4b491

Browse files
Make latest build
1 parent 13f1107 commit ee4b491

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dist/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34870,7 +34870,9 @@ const version_1 = __nccwpck_require__(8950);
3487034870
const cli_installer_1 = __nccwpck_require__(2846);
3487134871
// Installs the 1Password CLI on a GitHub Action runner.
3487234872
const 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();

0 commit comments

Comments
 (0)