4451bcbc13
BREAKING CHANGE: Custom proxy handling has been removed. If you use HTTP_PROXY or HTTPS_PROXY, you must now also set NODE_USE_ENV_PROXY=1 on the action step.
15 lines
451 B
JavaScript
15 lines
451 B
JavaScript
process.env.GITHUB_REPOSITORY = "actions/create-github-app-token";
|
|
process.env.GITHUB_REPOSITORY_OWNER = "actions";
|
|
process.env.HTTPS_PROXY = "http://127.0.0.1:3128";
|
|
|
|
const originalConsoleError = console.error;
|
|
console.error = (...args) => {
|
|
originalConsoleError(
|
|
...args.map((arg) => (arg instanceof Error ? arg.message : arg)),
|
|
);
|
|
};
|
|
|
|
await import("../main.js");
|
|
await new Promise((resolve) => setImmediate(resolve));
|
|
process.exitCode = 0;
|