Skip to content

Commit e3d3f2b

Browse files
committed
use GitHub release instead of packages
1 parent 646ac01 commit e3d3f2b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dist/pre/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88034,7 +88034,7 @@ function installAgent(isTLS, configStr) {
8803488034
encoding: "utf8",
8803588035
});
8803688036
if (isTLS) {
88037-
downloadPath = yield tool_cache.downloadTool(`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.23_linux_${variant}.tar.gz`);
88037+
downloadPath = yield tool_cache.downloadTool(`https://github.com/step-security/agent-ebpf/releases/download/v1.6.23/harden-runner_1.6.23_linux_${variant}.tar.gz`, undefined, auth);
8803888038
}
8803988039
else {
8804088040
if (variant === "arm64") {

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/install-agent.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ export async function installAgent(
2525

2626
if (isTLS) {
2727
downloadPath = await tc.downloadTool(
28-
`https://packages.stepsecurity.io/github-hosted/harden-runner_1.6.23_linux_${variant}.tar.gz`
28+
`https://github.com/step-security/agent-ebpf/releases/download/v1.6.23/harden-runner_1.6.23_linux_${variant}.tar.gz`,
29+
undefined,
30+
auth
2931
);
3032
} else {
3133
if (variant === "arm64") {

0 commit comments

Comments
 (0)