mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-25 09:40:57 -05:00
Build outputs
This commit is contained in:
parent
49ade81b5d
commit
f1361c71c2
4 changed files with 20 additions and 4 deletions
10
dist/main/index.js
vendored
10
dist/main/index.js
vendored
|
@ -139992,6 +139992,10 @@ function setup(option) {
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_REPORT_DIR', path.resolve(layout.workspaceDirectory(), 'dependency-graph-reports'));
|
maybeExportVariable('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;
|
||||||
|
@ -140009,6 +140013,7 @@ function complete(option) {
|
||||||
case input_params_1.DependencyGraphOption.DownloadAndSubmit:
|
case input_params_1.DependencyGraphOption.DownloadAndSubmit:
|
||||||
return;
|
return;
|
||||||
case input_params_1.DependencyGraphOption.GenerateAndSubmit:
|
case input_params_1.DependencyGraphOption.GenerateAndSubmit:
|
||||||
|
case input_params_1.DependencyGraphOption.Clear:
|
||||||
yield submitDependencyGraphs(yield findGeneratedDependencyGraphFiles());
|
yield submitDependencyGraphs(yield findGeneratedDependencyGraphFiles());
|
||||||
return;
|
return;
|
||||||
case input_params_1.DependencyGraphOption.GenerateAndUpload:
|
case input_params_1.DependencyGraphOption.GenerateAndUpload:
|
||||||
|
@ -140470,8 +140475,10 @@ function getDependencyGraphOption() {
|
||||||
return DependencyGraphOption.GenerateAndUpload;
|
return DependencyGraphOption.GenerateAndUpload;
|
||||||
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, generate-and-submit, generate-and-upload, download-and-submit]. The default value is 'disabled'.`);
|
throw TypeError(`The value '${val}' is not valid for 'dependency-graph'. Valid values are: [disabled, generate, generate-and-submit, generate-and-upload, download-and-submit, clear]. The default value is 'disabled'.`);
|
||||||
}
|
}
|
||||||
exports.getDependencyGraphOption = getDependencyGraphOption;
|
exports.getDependencyGraphOption = getDependencyGraphOption;
|
||||||
function getDependencyGraphContinueOnFailure() {
|
function getDependencyGraphContinueOnFailure() {
|
||||||
|
@ -140513,6 +140520,7 @@ var DependencyGraphOption;
|
||||||
DependencyGraphOption["GenerateAndSubmit"] = "generate-and-submit";
|
DependencyGraphOption["GenerateAndSubmit"] = "generate-and-submit";
|
||||||
DependencyGraphOption["GenerateAndUpload"] = "generate-and-upload";
|
DependencyGraphOption["GenerateAndUpload"] = "generate-and-upload";
|
||||||
DependencyGraphOption["DownloadAndSubmit"] = "download-and-submit";
|
DependencyGraphOption["DownloadAndSubmit"] = "download-and-submit";
|
||||||
|
DependencyGraphOption["Clear"] = "clear";
|
||||||
})(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {}));
|
})(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {}));
|
||||||
var JobSummaryOption;
|
var JobSummaryOption;
|
||||||
(function (JobSummaryOption) {
|
(function (JobSummaryOption) {
|
||||||
|
|
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
10
dist/post/index.js
vendored
10
dist/post/index.js
vendored
|
@ -137445,6 +137445,10 @@ function setup(option) {
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', layout.workspaceDirectory());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_REPORT_DIR', path.resolve(layout.workspaceDirectory(), 'dependency-graph-reports'));
|
maybeExportVariable('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;
|
||||||
|
@ -137462,6 +137466,7 @@ function complete(option) {
|
||||||
case input_params_1.DependencyGraphOption.DownloadAndSubmit:
|
case input_params_1.DependencyGraphOption.DownloadAndSubmit:
|
||||||
return;
|
return;
|
||||||
case input_params_1.DependencyGraphOption.GenerateAndSubmit:
|
case input_params_1.DependencyGraphOption.GenerateAndSubmit:
|
||||||
|
case input_params_1.DependencyGraphOption.Clear:
|
||||||
yield submitDependencyGraphs(yield findGeneratedDependencyGraphFiles());
|
yield submitDependencyGraphs(yield findGeneratedDependencyGraphFiles());
|
||||||
return;
|
return;
|
||||||
case input_params_1.DependencyGraphOption.GenerateAndUpload:
|
case input_params_1.DependencyGraphOption.GenerateAndUpload:
|
||||||
|
@ -137791,8 +137796,10 @@ function getDependencyGraphOption() {
|
||||||
return DependencyGraphOption.GenerateAndUpload;
|
return DependencyGraphOption.GenerateAndUpload;
|
||||||
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, generate-and-submit, generate-and-upload, download-and-submit]. The default value is 'disabled'.`);
|
throw TypeError(`The value '${val}' is not valid for 'dependency-graph'. Valid values are: [disabled, generate, generate-and-submit, generate-and-upload, download-and-submit, clear]. The default value is 'disabled'.`);
|
||||||
}
|
}
|
||||||
exports.getDependencyGraphOption = getDependencyGraphOption;
|
exports.getDependencyGraphOption = getDependencyGraphOption;
|
||||||
function getDependencyGraphContinueOnFailure() {
|
function getDependencyGraphContinueOnFailure() {
|
||||||
|
@ -137834,6 +137841,7 @@ var DependencyGraphOption;
|
||||||
DependencyGraphOption["GenerateAndSubmit"] = "generate-and-submit";
|
DependencyGraphOption["GenerateAndSubmit"] = "generate-and-submit";
|
||||||
DependencyGraphOption["GenerateAndUpload"] = "generate-and-upload";
|
DependencyGraphOption["GenerateAndUpload"] = "generate-and-upload";
|
||||||
DependencyGraphOption["DownloadAndSubmit"] = "download-and-submit";
|
DependencyGraphOption["DownloadAndSubmit"] = "download-and-submit";
|
||||||
|
DependencyGraphOption["Clear"] = "clear";
|
||||||
})(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {}));
|
})(DependencyGraphOption || (exports.DependencyGraphOption = DependencyGraphOption = {}));
|
||||||
var JobSummaryOption;
|
var JobSummaryOption;
|
||||||
(function (JobSummaryOption) {
|
(function (JobSummaryOption) {
|
||||||
|
|
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