Skip to content

Commit 4c8582f

Browse files
committed
Update agent versions
1 parent e8d595c commit 4c8582f

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

dist/pre/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88007,11 +88007,11 @@ var external_crypto_ = __nccwpck_require__(6417);
8800788007

8800888008
const CHECKSUMS = {
8800988009
tls: {
88010-
amd64: "3fdf9e0b0f08e39768dd2bb0c55d02c628c0670e3529c2f440bbb1da8a3d80f4",
88011-
arm64: "67405f212088d2891f4e40c7004b850b80e302fb1d9066e8c651de8b14679c55",
88010+
amd64: "e7c0c5f96efbf96806d27dcbf65f71f72ecd34cdd596c556bb2ded0f2037c260",
88011+
arm64: "813a4cd40f6740bd9623a40884a78f14960c6bd3794391693a165f2ca71c90e3",
8801288012
},
8801388013
non_tls: {
88014-
amd64: "a9f1842e3d7f3d38c143dbe8ffe1948e6c8173cd04da072d9f9d128bb400844a", // v0.13.7
88014+
amd64: "f0a8bb49ce5480744f8c836af2abd5f311e918efef5b36b4cce7521d7b9dffe6", // v0.14.0
8801588015
},
8801688016
};
8801788017
function verifyChecksum(downloadPath, isTLS, variant) {
@@ -88061,14 +88061,14 @@ function installAgent(isTLS, configStr) {
8806188061
encoding: "utf8",
8806288062
});
8806388063
if (isTLS) {
88064-
downloadPath = yield tool_cache.downloadTool(`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.1_linux_${variant}.tar.gz`);
88064+
downloadPath = yield tool_cache.downloadTool(`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.3_linux_${variant}.tar.gz`);
8806588065
}
8806688066
else {
8806788067
if (variant === "arm64") {
8806888068
console.log(ARM64_RUNNER_MESSAGE);
8806988069
return false;
8807088070
}
88071-
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);
88071+
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);
8807288072
}
8807388073
verifyChecksum(downloadPath, isTLS, variant);
8807488074
const extractPath = yield tool_cache.extractTar(downloadPath);

dist/pre/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/checksum.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import * as fs from "fs";
44

55
const CHECKSUMS = {
66
tls: {
7-
amd64: "3fdf9e0b0f08e39768dd2bb0c55d02c628c0670e3529c2f440bbb1da8a3d80f4", // v1.6.1
8-
arm64: "67405f212088d2891f4e40c7004b850b80e302fb1d9066e8c651de8b14679c55",
7+
amd64: "e7c0c5f96efbf96806d27dcbf65f71f72ecd34cdd596c556bb2ded0f2037c260", // v1.6.3
8+
arm64: "813a4cd40f6740bd9623a40884a78f14960c6bd3794391693a165f2ca71c90e3",
99
},
1010
non_tls: {
11-
amd64: "a9f1842e3d7f3d38c143dbe8ffe1948e6c8173cd04da072d9f9d128bb400844a", // v0.13.7
11+
amd64: "f0a8bb49ce5480744f8c836af2abd5f311e918efef5b36b4cce7521d7b9dffe6", // v0.14.0
1212
},
1313
};
1414

src/install-agent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ export async function installAgent(
2525

2626
if (isTLS) {
2727
downloadPath = await tc.downloadTool(
28-
`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.1_linux_${variant}.tar.gz`
28+
`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.3_linux_${variant}.tar.gz`
2929
);
3030
} else {
3131
if (variant === "arm64") {
3232
console.log(ARM64_RUNNER_MESSAGE);
3333
return false;
3434
}
3535
downloadPath = await tc.downloadTool(
36-
"https://github.com/step-security/agent/releases/download/v0.13.7/agent_0.13.7_linux_amd64.tar.gz",
36+
"https://github.com/step-security/agent/releases/download/v0.14.0/agent_0.14.0_linux_amd64.tar.gz",
3737
undefined,
3838
auth
3939
);

0 commit comments

Comments
 (0)