Update agent

This commit is contained in:
Varun Sharma 2025-04-12 07:40:55 -07:00
commit 230ee49196
4 changed files with 7 additions and 7 deletions

6
dist/pre/index.js vendored
View file

@ -88004,8 +88004,8 @@ var external_crypto_ = __nccwpck_require__(6417);
const CHECKSUMS = {
tls: {
amd64: "38e7ed97ced6fe0c1cf0fb5ee3b3d521dfe28d5ddf1cdca72d130c8d1b4a314e",
arm64: "f67c80cc578c996d4f882c14fcdb63df57927d907cd22f1ec65f9fa940c08cf3",
amd64: "ca6fb60f9166804d36b7e93f9700a89c61c84b5d6b826cfaf4f07c570136a90a",
arm64: "36b77710cf7643335ed2044f3342921b91c263d06f94f74f7fd94c302bb5883c",
},
non_tls: {
amd64: "a9f1842e3d7f3d38c143dbe8ffe1948e6c8173cd04da072d9f9d128bb400844a", // v0.13.7
@ -88058,7 +88058,7 @@ function installAgent(isTLS, configStr) {
encoding: "utf8",
});
if (isTLS) {
downloadPath = yield tool_cache.downloadTool(`https://packages.stepsecurity.io/github-hosted/harden-runner_1.4.2_linux_${variant}.tar.gz`);
downloadPath = yield tool_cache.downloadTool(`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.0_linux_${variant}.tar.gz`);
}
else {
if (variant === "arm64") {

File diff suppressed because one or more lines are too long

View file

@ -4,8 +4,8 @@ import * as fs from "fs";
const CHECKSUMS = {
tls: {
amd64: "38e7ed97ced6fe0c1cf0fb5ee3b3d521dfe28d5ddf1cdca72d130c8d1b4a314e", // v1.4.2
arm64: "f67c80cc578c996d4f882c14fcdb63df57927d907cd22f1ec65f9fa940c08cf3",
amd64: "ca6fb60f9166804d36b7e93f9700a89c61c84b5d6b826cfaf4f07c570136a90a", // v1.6.0
arm64: "36b77710cf7643335ed2044f3342921b91c263d06f94f74f7fd94c302bb5883c",
},
non_tls: {
amd64: "a9f1842e3d7f3d38c143dbe8ffe1948e6c8173cd04da072d9f9d128bb400844a", // v0.13.7

View file

@ -25,7 +25,7 @@ export async function installAgent(
if (isTLS) {
downloadPath = await tc.downloadTool(
`https://packages.stepsecurity.io/github-hosted/harden-runner_1.4.2_linux_${variant}.tar.gz`
`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.0_linux_${variant}.tar.gz`
);
} else {
if (variant === "arm64") {