1
0
Fork 0
mirror of synced 2026-06-05 15:58:19 +00:00

Merge pull request #39 from step-security/rel-v1.0.3

Update agent version
This commit is contained in:
Varun Sharma 2021-12-17 12:57:04 -08:00 committed by GitHub
commit 50fa64266c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

2
dist/pre/index.js vendored
View file

@ -6315,7 +6315,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
const confgStr = JSON.stringify(confg);
external_child_process_.execSync("sudo mkdir -p /home/agent");
external_child_process_.execSync("sudo chown -R $USER /home/agent");
const downloadPath = yield tool_cache.downloadTool("https://github.com/step-security/agent/releases/download/v0.4.1/agent_0.4.1_linux_amd64.tar.gz");
const downloadPath = yield tool_cache.downloadTool("https://github.com/step-security/agent/releases/download/v0.4.2/agent_0.4.2_linux_amd64.tar.gz");
const extractPath = yield tool_cache.extractTar(downloadPath);
console.log(`Step Security Job Correlation ID: ${correlation_id}`);
printInfo(web_url);

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "step-security-harden-runner",
"version": "1.0.1",
"version": "1.0.3",
"description": "GitHub Actions Runtime Security",
"main": "index.js",
"scripts": {

View file

@ -54,7 +54,7 @@ import * as tc from "@actions/tool-cache";
cp.execSync("sudo chown -R $USER /home/agent");
const downloadPath: string = await tc.downloadTool(
"https://github.com/step-security/agent/releases/download/v0.4.1/agent_0.4.1_linux_amd64.tar.gz"
"https://github.com/step-security/agent/releases/download/v0.4.2/agent_0.4.2_linux_amd64.tar.gz"
);
const extractPath = await tc.extractTar(downloadPath);