diff --git a/dist/index.js b/dist/index.js index 9e50902..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(); @@ -35164,7 +35166,7 @@ var op_cli_installer_dist = __nccwpck_require__(1621); // EXTERNAL MODULE: ./node_modules/@actions/exec/lib/exec.js var exec = __nccwpck_require__(5236); ;// CONCATENATED MODULE: ./package.json -const package_namespaceObject = {"rE":"2.0.0"}; +const package_namespaceObject = {"rE":"3.0.0"}; ;// CONCATENATED MODULE: ./src/constants.ts const envConnectHost = "OP_CONNECT_HOST"; const envConnectToken = "OP_CONNECT_TOKEN"; diff --git a/package-lock.json b/package-lock.json index 3bbb170..6a1bd95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "load-secrets-action", - "version": "2.0.0", + "version": "3.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "load-secrets-action", - "version": "2.0.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "@1password/op-js": "^0.1.11", diff --git a/package.json b/package.json index 45a32b6..f23ff70 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "load-secrets-action", - "version": "2.0.0", + "version": "3.0.0", "description": "Load Secrets from 1Password", "main": "dist/index.js", "directories": {