Skip to content

Commit

Permalink
Build outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Jan 23, 2024
1 parent 9283312 commit a8f7551
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
8 changes: 8 additions & 0 deletions dist/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93650,6 +93650,10 @@ function setup(option) {
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory());
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;
Expand All @@ -93663,6 +93667,7 @@ function complete(option) {
yield uploadDependencyGraphs();
return;
case input_params_1.DependencyGraphOption.GenerateAndSubmit:
case input_params_1.DependencyGraphOption.Clear:
yield submitDependencyGraphs(yield uploadDependencyGraphs());
return;
}
Expand Down Expand Up @@ -94077,6 +94082,8 @@ function getDependencyGraphOption() {
return DependencyGraphOption.GenerateAndSubmit;
case 'download-and-submit':
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'.`);
}
Expand Down Expand Up @@ -94115,6 +94122,7 @@ var DependencyGraphOption;
DependencyGraphOption[DependencyGraphOption["Generate"] = 1] = "Generate";
DependencyGraphOption[DependencyGraphOption["GenerateAndSubmit"] = 2] = "GenerateAndSubmit";
DependencyGraphOption[DependencyGraphOption["DownloadAndSubmit"] = 3] = "DownloadAndSubmit";
DependencyGraphOption[DependencyGraphOption["Clear"] = 4] = "Clear";
})(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {}));


Expand Down
2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions dist/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93650,6 +93650,10 @@ function setup(option) {
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory());
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;
Expand All @@ -93663,6 +93667,7 @@ function complete(option) {
yield uploadDependencyGraphs();
return;
case input_params_1.DependencyGraphOption.GenerateAndSubmit:
case input_params_1.DependencyGraphOption.Clear:
yield submitDependencyGraphs(yield uploadDependencyGraphs());
return;
}
Expand Down Expand Up @@ -93945,6 +93950,8 @@ function getDependencyGraphOption() {
return DependencyGraphOption.GenerateAndSubmit;
case 'download-and-submit':
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'.`);
}
Expand Down Expand Up @@ -93983,6 +93990,7 @@ var DependencyGraphOption;
DependencyGraphOption[DependencyGraphOption["Generate"] = 1] = "Generate";
DependencyGraphOption[DependencyGraphOption["GenerateAndSubmit"] = 2] = "GenerateAndSubmit";
DependencyGraphOption[DependencyGraphOption["DownloadAndSubmit"] = 3] = "DownloadAndSubmit";
DependencyGraphOption[DependencyGraphOption["Clear"] = 4] = "Clear";
})(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {}));


Expand Down
2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

0 comments on commit a8f7551

Please sign in to comment.