Build outputs

This commit is contained in:
daz 2024-01-23 16:12:23 -07:00
parent 9283312acb
commit a8f75513ea
No known key found for this signature in database
4 changed files with 18 additions and 2 deletions

8
dist/main/index.js vendored
View file

@ -93650,6 +93650,10 @@ function setup(option) {
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext()); core.exportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory()); core.exportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory());
core.exportVariable('DEPENDENCY_GRAPH_REPORT_DIR', path.resolve(layout.workspaceDirectory(), 'dependency-graph-reports')); core.exportVariable('DEPENDENCY_GRAPH_REPORT_DIR', path.resolve(layout.workspaceDirectory(), 'dependency-graph-reports'));
if (option === input_params_1.DependencyGraphOption.Clear) {
core.exportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', '');
core.exportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', '');
}
}); });
} }
exports.setup = setup; exports.setup = setup;
@ -93663,6 +93667,7 @@ function complete(option) {
yield uploadDependencyGraphs(); yield uploadDependencyGraphs();
return; return;
case input_params_1.DependencyGraphOption.GenerateAndSubmit: case input_params_1.DependencyGraphOption.GenerateAndSubmit:
case input_params_1.DependencyGraphOption.Clear:
yield submitDependencyGraphs(yield uploadDependencyGraphs()); yield submitDependencyGraphs(yield uploadDependencyGraphs());
return; return;
} }
@ -94077,6 +94082,8 @@ function getDependencyGraphOption() {
return DependencyGraphOption.GenerateAndSubmit; return DependencyGraphOption.GenerateAndSubmit;
case 'download-and-submit': case 'download-and-submit':
return DependencyGraphOption.DownloadAndSubmit; return DependencyGraphOption.DownloadAndSubmit;
case 'clear':
return DependencyGraphOption.Clear;
} }
throw TypeError(`The value '${val} is not valid for 'dependency-graph. Valid values are: [disabled, generate-and-upload, generate-and-submit, download-and-submit]. The default value is 'disabled'.`); throw TypeError(`The value '${val} is not valid for 'dependency-graph. Valid values are: [disabled, generate-and-upload, generate-and-submit, download-and-submit]. The default value is 'disabled'.`);
} }
@ -94115,6 +94122,7 @@ var DependencyGraphOption;
DependencyGraphOption[DependencyGraphOption["Generate"] = 1] = "Generate"; DependencyGraphOption[DependencyGraphOption["Generate"] = 1] = "Generate";
DependencyGraphOption[DependencyGraphOption["GenerateAndSubmit"] = 2] = "GenerateAndSubmit"; DependencyGraphOption[DependencyGraphOption["GenerateAndSubmit"] = 2] = "GenerateAndSubmit";
DependencyGraphOption[DependencyGraphOption["DownloadAndSubmit"] = 3] = "DownloadAndSubmit"; DependencyGraphOption[DependencyGraphOption["DownloadAndSubmit"] = 3] = "DownloadAndSubmit";
DependencyGraphOption[DependencyGraphOption["Clear"] = 4] = "Clear";
})(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {})); })(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {}));

File diff suppressed because one or more lines are too long

8
dist/post/index.js vendored
View file

@ -93650,6 +93650,10 @@ function setup(option) {
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext()); core.exportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory()); core.exportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory());
core.exportVariable('DEPENDENCY_GRAPH_REPORT_DIR', path.resolve(layout.workspaceDirectory(), 'dependency-graph-reports')); core.exportVariable('DEPENDENCY_GRAPH_REPORT_DIR', path.resolve(layout.workspaceDirectory(), 'dependency-graph-reports'));
if (option === input_params_1.DependencyGraphOption.Clear) {
core.exportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', '');
core.exportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', '');
}
}); });
} }
exports.setup = setup; exports.setup = setup;
@ -93663,6 +93667,7 @@ function complete(option) {
yield uploadDependencyGraphs(); yield uploadDependencyGraphs();
return; return;
case input_params_1.DependencyGraphOption.GenerateAndSubmit: case input_params_1.DependencyGraphOption.GenerateAndSubmit:
case input_params_1.DependencyGraphOption.Clear:
yield submitDependencyGraphs(yield uploadDependencyGraphs()); yield submitDependencyGraphs(yield uploadDependencyGraphs());
return; return;
} }
@ -93945,6 +93950,8 @@ function getDependencyGraphOption() {
return DependencyGraphOption.GenerateAndSubmit; return DependencyGraphOption.GenerateAndSubmit;
case 'download-and-submit': case 'download-and-submit':
return DependencyGraphOption.DownloadAndSubmit; return DependencyGraphOption.DownloadAndSubmit;
case 'clear':
return DependencyGraphOption.Clear;
} }
throw TypeError(`The value '${val} is not valid for 'dependency-graph. Valid values are: [disabled, generate-and-upload, generate-and-submit, download-and-submit]. The default value is 'disabled'.`); throw TypeError(`The value '${val} is not valid for 'dependency-graph. Valid values are: [disabled, generate-and-upload, generate-and-submit, download-and-submit]. The default value is 'disabled'.`);
} }
@ -93983,6 +93990,7 @@ var DependencyGraphOption;
DependencyGraphOption[DependencyGraphOption["Generate"] = 1] = "Generate"; DependencyGraphOption[DependencyGraphOption["Generate"] = 1] = "Generate";
DependencyGraphOption[DependencyGraphOption["GenerateAndSubmit"] = 2] = "GenerateAndSubmit"; DependencyGraphOption[DependencyGraphOption["GenerateAndSubmit"] = 2] = "GenerateAndSubmit";
DependencyGraphOption[DependencyGraphOption["DownloadAndSubmit"] = 3] = "DownloadAndSubmit"; DependencyGraphOption[DependencyGraphOption["DownloadAndSubmit"] = 3] = "DownloadAndSubmit";
DependencyGraphOption[DependencyGraphOption["Clear"] = 4] = "Clear";
})(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {})); })(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {}));

File diff suppressed because one or more lines are too long