Revert "Merge pull request #137 from 1Password/feature/migrate-to-sdk"

This reverts commit 38b333095d, reversing
changes made to 652d567877.
This commit is contained in:
Jill Regan
2026-03-02 18:41:50 -05:00
parent cb7c5acc8a
commit 7d4e24a43f
7 changed files with 21 additions and 369 deletions

View File

@@ -3,7 +3,7 @@ import * as core from "@actions/core";
import { validateCli } from "@1password/op-js";
import { installCliOnGithubActionRunner } from "./op-cli-installer";
import { loadSecrets, unsetPrevious, validateAuth } from "./utils";
import { envFilePath, envConnectHost, envConnectToken } from "./constants";
import { envFilePath } from "./constants";
const loadSecretsAction = async () => {
try {
@@ -26,12 +26,8 @@ const loadSecretsAction = async () => {
dotenv.config({ path: file });
}
const isConnect =
process.env[envConnectHost] && process.env[envConnectToken];
// If Connect is used, download and install the CLI
if (isConnect) {
await installCLI();
}
// Download and install the CLI
await installCLI();
// Load secrets
await loadSecrets(shouldExportEnv);