mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
[bot] Update dist directory
This commit is contained in:
36
dist/dependency-submission/main/index.js
vendored
36
dist/dependency-submission/main/index.js
vendored
@@ -157491,7 +157491,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.WrapperValidationConfig = exports.GradleExecutionConfig = exports.BuildScanConfig = exports.JobSummaryOption = exports.SummaryConfig = exports.CacheCleanupOption = exports.CacheConfig = exports.DependencyGraphOption = exports.DependencyGraphConfig = exports.ACTION_METADATA_DIR = void 0;
|
||||
exports.WrapperValidationConfig = exports.GradleExecutionConfig = exports.PluginRepositoryConfig = exports.BuildScanConfig = exports.JobSummaryOption = exports.SummaryConfig = exports.CacheCleanupOption = exports.CacheConfig = exports.DependencyGraphOption = exports.DependencyGraphConfig = exports.ACTION_METADATA_DIR = void 0;
|
||||
exports.getJobMatrix = getJobMatrix;
|
||||
exports.getGithubToken = getGithubToken;
|
||||
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
||||
@@ -157554,6 +157554,9 @@ class DependencyGraphConfig {
|
||||
getIncludeConfigurations() {
|
||||
return getOptionalInput('dependency-graph-include-configurations');
|
||||
}
|
||||
getPluginRepository() {
|
||||
return new PluginRepositoryConfig();
|
||||
}
|
||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||
const matrixString = this.describeMatrix(matrixJson);
|
||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||
@@ -157740,14 +157743,8 @@ class BuildScanConfig {
|
||||
getDevelocityCcudPluginVersion() {
|
||||
return core.getInput('develocity-ccud-plugin-version');
|
||||
}
|
||||
getGradlePluginRepositoryUrl() {
|
||||
return core.getInput('gradle-plugin-repository-url');
|
||||
}
|
||||
getGradlePluginRepositoryUsername() {
|
||||
return core.getInput('gradle-plugin-repository-username');
|
||||
}
|
||||
getGradlePluginRepositoryPassword() {
|
||||
return core.getInput('gradle-plugin-repository-password');
|
||||
getPluginRepository() {
|
||||
return new PluginRepositoryConfig();
|
||||
}
|
||||
verifyTermsOfUseAgreement() {
|
||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||
@@ -157762,6 +157759,18 @@ class BuildScanConfig {
|
||||
exports.BuildScanConfig = BuildScanConfig;
|
||||
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
||||
BuildScanConfig.GradleEnterpriseAccessKeyEnvVar = 'GRADLE_ENTERPRISE_ACCESS_KEY';
|
||||
class PluginRepositoryConfig {
|
||||
getUrl() {
|
||||
return getOptionalInput('gradle-plugin-repository-url');
|
||||
}
|
||||
getUsername() {
|
||||
return getOptionalInput('gradle-plugin-repository-username');
|
||||
}
|
||||
getPassword() {
|
||||
return getOptionalInput('gradle-plugin-repository-password');
|
||||
}
|
||||
}
|
||||
exports.PluginRepositoryConfig = PluginRepositoryConfig;
|
||||
class GradleExecutionConfig {
|
||||
getGradleVersion() {
|
||||
return core.getInput('gradle-version');
|
||||
@@ -157999,6 +158008,9 @@ async function setup(config) {
|
||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
||||
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', config.getIncludeConfigurations());
|
||||
maybeExportVariable('GRADLE_PLUGIN_REPOSITORY_URL', config.getPluginRepository().getUrl());
|
||||
maybeExportVariable('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getPluginRepository().getUsername());
|
||||
maybeExportVariable('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getPluginRepository().getPassword());
|
||||
}
|
||||
function maybeExportVariable(variableName, value) {
|
||||
if (!process.env[variableName]) {
|
||||
@@ -158368,9 +158380,9 @@ async function setup(config) {
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_CCUD_PLUGIN_VERSION', config.getDevelocityCcudPluginVersion());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_URL', config.getPluginRepository().getUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_USERNAME', config.getPluginRepository().getUsername());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_PASSWORD', config.getPluginRepository().getPassword());
|
||||
if (config.getBuildScanPublishEnabled()) {
|
||||
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true');
|
||||
maybeExportVariable('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', '4.0.2');
|
||||
|
||||
2
dist/dependency-submission/main/index.js.map
vendored
2
dist/dependency-submission/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user