mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-25 02:22:11 +00:00
Build outputs
This commit is contained in:
parent
9283312acb
commit
a8f75513ea
4 changed files with 18 additions and 2 deletions
8
dist/main/index.js
vendored
8
dist/main/index.js
vendored
|
@ -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 = {}));
|
||||||
|
|
||||||
|
|
||||||
|
|
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
8
dist/post/index.js
vendored
8
dist/post/index.js
vendored
|
@ -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 = {}));
|
||||||
|
|
||||||
|
|
||||||
|
|
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue