Skip to content

Commit cd87ccd

Browse files
committed
Use getCodeQLAssetDownloadURL for start-proxy
1 parent 5de4b26 commit cd87ccd

4 files changed

Lines changed: 165 additions & 145 deletions

File tree

‎lib/entry-points.js‎

Lines changed: 21 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/start-proxy-action.ts‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as core from "@actions/core";
55

66
import { Action, ActionState, runInActions } from "./action-common";
77
import * as actionsUtil from "./actions-util";
8-
import { getGitHubVersion } from "./api-client";
8+
import { getApiDetails, getGitHubVersion } from "./api-client";
99
import { FeatureEnablement, initFeatures } from "./feature-flags";
1010
import { BuiltInLanguage, parseBuiltInLanguage } from "./languages";
1111
import { Logger } from "./logging";
@@ -98,7 +98,10 @@ async function run(action: ActionState<["Base", "Logger", "Env", "Actions"]>) {
9898
};
9999

100100
// Start the Proxy
101-
const proxyBin = await getProxyBinaryPath({ ...action, features });
101+
const proxyBin = await getProxyBinaryPath(
102+
{ ...action, features },
103+
getApiDetails(action.env),
104+
);
102105
const proxyInfo = await startProxy(
103106
proxyBin,
104107
proxyConfig,

0 commit comments

Comments
 (0)