@@ -85545,9 +85545,9 @@ const CHECKSUMS = {
8554585545 non_tls: {
8554685546 amd64: "23715f2485c16e2a2ad116abf0fe8443788c62e4f5f224c5858b0b41b591fc89", // v0.14.3
8554785547 },
85548- darwin: "eefb162810c378653c16e122e024314a2e47592dc98b295433b26ad1a4f28590 ",
85548+ darwin: "c15dea4604bb3f15c7b45bf74658a154827d3c1285cb9b13f21d4a2ad2b9d9ce ",
8554985549 windows: {
85550- amd64: "9e4fde66331be3261ae6ff954e531e94335b5774ac7e105f0126b391ee1c6d66 ", // v1.0.0-int
85550+ amd64: "e98f8b9cf9ecf6566f1e16a470fbe4aef01610a644fd8203a1bab3ff142186c8 ", // v1.0.0
8555185551 },
8555285552};
8555385553// verifyChecksum returns true if checksum is valid
@@ -85655,7 +85655,7 @@ function installMacosAgent(configStr) {
8565585655 external_fs_.writeFileSync("/opt/step-security/agent.json", configStr);
8565685656 lib_core.info("✓ Successfully created agent.json at /opt/step-security/agent.json");
8565785657 // Download installer package
85658- const downloadUrl = "https://github.com/step-security/agent-int- releases/releases/download/v0.0.2 -mac/macos-installer-0.0.2 .tar.gz";
85658+ const downloadUrl = "https://github.com/step-security/agent-releases/releases/download/v0.0.3 -mac/macos-installer-0.0.3 .tar.gz";
8565985659 lib_core.info(`Downloading macOS installer.. : ${downloadUrl}`);
8566085660 const downloadPath = yield tool_cache.downloadTool(downloadUrl, undefined, auth);
8566185661 lib_core.info(`✓ Successfully downloaded installer to: ${downloadPath}`);
@@ -85670,10 +85670,10 @@ function installMacosAgent(configStr) {
8567085670 lib_core.info(`✓ Successfully extracted installer to: ${extractPath}`);
8567185671 // Copy Installer binary to /opt/step-security
8567285672 const installerSourcePath = external_path_.join(extractPath, "Installer");
85673+ const installerBinaryPath = "/opt/step-security/Installer";
8567385674 lib_core.info(`Copying Installer from ${installerSourcePath} to /opt/step-security...`);
85674- external_child_process_.execSync(`cp "${ installerSourcePath}" /opt/step-security/` );
85675+ external_child_process_.execFileSync("cp", [ installerSourcePath, installerBinaryPath] );
8567585676 lib_core.info("✓ Successfully copied Installer to /opt/step-security");
85676- const installerBinaryPath = "/opt/step-security/Installer";
8567785677 // Verify installer binary exists
8567885678 if (!external_fs_.existsSync(installerBinaryPath)) {
8567985679 throw new Error("Installer binary not found at /opt/step-security/Installer");
@@ -85720,7 +85720,7 @@ function installWindowsAgent(configStr) {
8572085720 encoding: "utf8",
8572185721 });
8572285722 const agentExePath = external_path_.join(agentDir, "agent.exe");
85723- const downloadPath = yield tool_cache.downloadTool(`https://github.com/step-security/agent-releases/releases/download/v1.0.0-int /harden-runner-agent-windows_int_windows_amd64 .tar.gz`, undefined, auth);
85723+ const downloadPath = yield tool_cache.downloadTool(`https://github.com/step-security/agent-releases/releases/download/v1.0.0-win /harden-runner-agent-windows_1.0.0_windows_amd64 .tar.gz`, undefined, auth);
8572485724 // validate the checksum
8572585725 if (!verifyChecksum(downloadPath, false, variant, process.platform)) {
8572685726 return false;
0 commit comments