Update agent version

This commit is contained in:
Varun Sharma 2022-04-21 21:05:07 -07:00
commit 3d5a5b608c
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ export function verifyChecksum(downloadPath: string) {
.digest("hex"); // checksum of downloaded file
const expectedChecksum: string =
"8a8d304cb1e413f0fd2c1dffacefc0d91ba693eee2040f4ea7893ef29f3f10b1"; // checksum for v0.9.1
"fe2d9c22b10981aefc694525f2f4529e69bf5c30677e90387c26df7aad3f1b8f"; // checksum for v0.9.2
if (checksum !== expectedChecksum) {
core.setFailed(

View file

@ -73,7 +73,7 @@ import isDocker from "is-docker";
let auth = `token ${token}`;
const downloadPath: string = await tc.downloadTool(
"https://github.com/step-security/agent/releases/download/v0.9.1/agent_0.9.1_linux_amd64.tar.gz",
"https://github.com/step-security/agent/releases/download/v0.9.2/agent_0.9.2_linux_amd64.tar.gz",
undefined,
auth
);