mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-07 22:47:12 +00:00
Update
This commit is contained in:
parent
061aec38f6
commit
36b4d31475
3 changed files with 5 additions and 4 deletions
3
dist/pre/index.js
vendored
3
dist/pre/index.js
vendored
|
|
@ -88660,6 +88660,7 @@ var setup_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _ar
|
|||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
let _http = new lib.HttpClient();
|
||||
let statusCode;
|
||||
_http.requestOptions = { socketTimeout: 3 * 1000 };
|
||||
|
|
@ -88687,7 +88688,7 @@ var setup_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _ar
|
|||
const downloadPath = yield tool_cache.downloadTool("https://github.com/step-security/agent/releases/download/v0.13.5/agent_0.13.5_linux_amd64.tar.gz", undefined, auth);
|
||||
verifyChecksum(downloadPath); // NOTE: verifying agent's checksum, before extracting
|
||||
const extractPath = yield tool_cache.extractTar(downloadPath);
|
||||
return;
|
||||
//return;
|
||||
let cmd = "cp", args = [external_path_.join(extractPath, "agent"), "/home/agent/agent"];
|
||||
external_child_process_.execFileSync(cmd, args);
|
||||
external_child_process_.execSync("chmod +x /home/agent/agent");
|
||||
|
|
|
|||
2
dist/pre/index.js.map
vendored
2
dist/pre/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -165,7 +165,7 @@ import { isArcRunner, sendAllowedEndpoints } from "./arc-runner";
|
|||
}
|
||||
return;
|
||||
}
|
||||
|
||||
return;
|
||||
let _http = new httpm.HttpClient();
|
||||
let statusCode;
|
||||
_http.requestOptions = { socketTimeout: 3 * 1000 };
|
||||
|
|
@ -207,7 +207,7 @@ import { isArcRunner, sendAllowedEndpoints } from "./arc-runner";
|
|||
|
||||
verifyChecksum(downloadPath); // NOTE: verifying agent's checksum, before extracting
|
||||
const extractPath = await tc.extractTar(downloadPath);
|
||||
return;
|
||||
//return;
|
||||
let cmd = "cp",
|
||||
args = [path.join(extractPath, "agent"), "/home/agent/agent"];
|
||||
cp.execFileSync(cmd, args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue