mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-09 03:17:08 +00:00
Update agent versions
This commit is contained in:
parent
e8d595cd66
commit
4c8582f455
4 changed files with 11 additions and 11 deletions
10
dist/pre/index.js
vendored
10
dist/pre/index.js
vendored
|
|
@ -88007,11 +88007,11 @@ var external_crypto_ = __nccwpck_require__(6417);
|
||||||
|
|
||||||
const CHECKSUMS = {
|
const CHECKSUMS = {
|
||||||
tls: {
|
tls: {
|
||||||
amd64: "3fdf9e0b0f08e39768dd2bb0c55d02c628c0670e3529c2f440bbb1da8a3d80f4",
|
amd64: "e7c0c5f96efbf96806d27dcbf65f71f72ecd34cdd596c556bb2ded0f2037c260",
|
||||||
arm64: "67405f212088d2891f4e40c7004b850b80e302fb1d9066e8c651de8b14679c55",
|
arm64: "813a4cd40f6740bd9623a40884a78f14960c6bd3794391693a165f2ca71c90e3",
|
||||||
},
|
},
|
||||||
non_tls: {
|
non_tls: {
|
||||||
amd64: "a9f1842e3d7f3d38c143dbe8ffe1948e6c8173cd04da072d9f9d128bb400844a", // v0.13.7
|
amd64: "f0a8bb49ce5480744f8c836af2abd5f311e918efef5b36b4cce7521d7b9dffe6", // v0.14.0
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
function verifyChecksum(downloadPath, isTLS, variant) {
|
function verifyChecksum(downloadPath, isTLS, variant) {
|
||||||
|
|
@ -88061,14 +88061,14 @@ function installAgent(isTLS, configStr) {
|
||||||
encoding: "utf8",
|
encoding: "utf8",
|
||||||
});
|
});
|
||||||
if (isTLS) {
|
if (isTLS) {
|
||||||
downloadPath = yield tool_cache.downloadTool(`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.1_linux_${variant}.tar.gz`);
|
downloadPath = yield tool_cache.downloadTool(`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.3_linux_${variant}.tar.gz`);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (variant === "arm64") {
|
if (variant === "arm64") {
|
||||||
console.log(ARM64_RUNNER_MESSAGE);
|
console.log(ARM64_RUNNER_MESSAGE);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
downloadPath = yield tool_cache.downloadTool("https://github.com/step-security/agent/releases/download/v0.13.7/agent_0.13.7_linux_amd64.tar.gz", undefined, auth);
|
downloadPath = yield tool_cache.downloadTool("https://github.com/step-security/agent/releases/download/v0.14.0/agent_0.14.0_linux_amd64.tar.gz", undefined, auth);
|
||||||
}
|
}
|
||||||
verifyChecksum(downloadPath, isTLS, variant);
|
verifyChecksum(downloadPath, isTLS, variant);
|
||||||
const extractPath = yield tool_cache.extractTar(downloadPath);
|
const extractPath = yield tool_cache.extractTar(downloadPath);
|
||||||
|
|
|
||||||
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
|
|
@ -4,11 +4,11 @@ import * as fs from "fs";
|
||||||
|
|
||||||
const CHECKSUMS = {
|
const CHECKSUMS = {
|
||||||
tls: {
|
tls: {
|
||||||
amd64: "3fdf9e0b0f08e39768dd2bb0c55d02c628c0670e3529c2f440bbb1da8a3d80f4", // v1.6.1
|
amd64: "e7c0c5f96efbf96806d27dcbf65f71f72ecd34cdd596c556bb2ded0f2037c260", // v1.6.3
|
||||||
arm64: "67405f212088d2891f4e40c7004b850b80e302fb1d9066e8c651de8b14679c55",
|
arm64: "813a4cd40f6740bd9623a40884a78f14960c6bd3794391693a165f2ca71c90e3",
|
||||||
},
|
},
|
||||||
non_tls: {
|
non_tls: {
|
||||||
amd64: "a9f1842e3d7f3d38c143dbe8ffe1948e6c8173cd04da072d9f9d128bb400844a", // v0.13.7
|
amd64: "f0a8bb49ce5480744f8c836af2abd5f311e918efef5b36b4cce7521d7b9dffe6", // v0.14.0
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ export async function installAgent(
|
||||||
|
|
||||||
if (isTLS) {
|
if (isTLS) {
|
||||||
downloadPath = await tc.downloadTool(
|
downloadPath = await tc.downloadTool(
|
||||||
`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.1_linux_${variant}.tar.gz`
|
`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.3_linux_${variant}.tar.gz`
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
if (variant === "arm64") {
|
if (variant === "arm64") {
|
||||||
|
|
@ -33,7 +33,7 @@ export async function installAgent(
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
downloadPath = await tc.downloadTool(
|
downloadPath = await tc.downloadTool(
|
||||||
"https://github.com/step-security/agent/releases/download/v0.13.7/agent_0.13.7_linux_amd64.tar.gz",
|
"https://github.com/step-security/agent/releases/download/v0.14.0/agent_0.14.0_linux_amd64.tar.gz",
|
||||||
undefined,
|
undefined,
|
||||||
auth
|
auth
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue