mirror of
https://github.com/github/codeql-action.git
synced 2026-05-04 12:50:14 +00:00
Add delay to init for testing
This commit is contained in:
Generated
+1
@@ -92569,6 +92569,7 @@ async function run(startedAt) {
|
||||
logger.info(`Job run UUID is ${jobRunUuid}.`);
|
||||
core13.exportVariable("JOB_RUN_UUID" /* JOB_RUN_UUID */, jobRunUuid);
|
||||
core13.exportVariable("CODEQL_ACTION_INIT_HAS_RUN" /* INIT_ACTION_HAS_RUN */, "true");
|
||||
await new Promise((resolve9) => setTimeout(resolve9, 5 * 60 * 1e3));
|
||||
configFile = getOptionalInput("config-file");
|
||||
sourceRoot = path15.resolve(
|
||||
getRequiredEnvParam("GITHUB_WORKSPACE"),
|
||||
|
||||
@@ -251,6 +251,9 @@ async function run(startedAt: Date) {
|
||||
|
||||
core.exportVariable(EnvVar.INIT_ACTION_HAS_RUN, "true");
|
||||
|
||||
// wait 5 minutes for testing
|
||||
await new Promise((resolve) => setTimeout(resolve, 5 * 60 * 1000));
|
||||
|
||||
configFile = getOptionalInput("config-file");
|
||||
|
||||
// path.resolve() respects the intended semantics of source-root. If
|
||||
|
||||
Reference in New Issue
Block a user