Make latest build

This commit is contained in:
Volodymyr Zotov
2025-08-13 16:50:05 -05:00
parent 13f110716c
commit ee4b4919bf

4
dist/index.js vendored
View File

@@ -34870,7 +34870,9 @@ const version_1 = __nccwpck_require__(8950);
const cli_installer_1 = __nccwpck_require__(2846); const cli_installer_1 = __nccwpck_require__(2846);
// Installs the 1Password CLI on a GitHub Action runner. // Installs the 1Password CLI on a GitHub Action runner.
const installCliOnGithubActionRunner = async (version) => { 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(); await versionResolver.resolve();
const installer = (0, cli_installer_1.newCliInstaller)(versionResolver.get()); const installer = (0, cli_installer_1.newCliInstaller)(versionResolver.get());
await installer.installCli(); await installer.installCli();