From 65a7f5e592a12d4eb47b49204ecb0df71658b213 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Wed, 13 Aug 2025 13:16:21 -0500 Subject: [PATCH 1/3] Prepare release v3.0.0 --- README.md | 2 +- dist/index.js | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bfec9d7..abf6097 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v3 - name: Load secret - uses: 1password/load-secrets-action@v2 + uses: 1password/load-secrets-action@v3 with: # Export loaded secrets as environment variables export-env: true diff --git a/dist/index.js b/dist/index.js index 9e50902..a0736a6 100644 --- a/dist/index.js +++ b/dist/index.js @@ -35164,7 +35164,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 54e9d59..b68ab02 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 993b8cd..e8d1786 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": { From cb2930c65f6e233a3f32f657f71e78a575d7d380 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Wed, 13 Aug 2025 13:25:33 -0500 Subject: [PATCH 2/3] Bump actions/checkout to v4 on readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index abf6097..aeaf010 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ jobs: hello-world: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Load secret uses: 1password/load-secrets-action@v3 From ee4b4919bfaf638af868484193fe5bb609e545c9 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Wed, 13 Aug 2025 16:50:05 -0500 Subject: [PATCH 3/3] 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();