Add proxy_binary input to start-proxy Action

This allows a custom binary to be used. Mainly for testing.
This commit is contained in:
Michael B. Gale
2025-03-31 15:28:51 +01:00
parent f843d94177
commit 6e35f86a20
4 changed files with 10 additions and 3 deletions

View File

@@ -112,7 +112,8 @@ async function runWrapper() {
ca,
};
// Start the Proxy
const proxyBin = await getProxyBinaryPath();
const proxyBin = actionsUtil.getOptionalInput("proxy_binary") ??
(await getProxyBinaryPath());
await startProxy(proxyBin, proxyConfig, proxyLogFilePath, logger);
}
async function startProxy(binPath, config, logFilePath, logger) {

File diff suppressed because one or more lines are too long