mirror of
https://github.com/gradle/actions.git
synced 2025-08-25 03:11:28 +08:00
[bot] Update dist directory
This commit is contained in:
parent
fd888822a4
commit
ac638b010c
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 };
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
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.getJobMatrix = getJobMatrix;
|
||||||
exports.getGithubToken = getGithubToken;
|
exports.getGithubToken = getGithubToken;
|
||||||
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
||||||
@ -157554,6 +157554,9 @@ class DependencyGraphConfig {
|
|||||||
getIncludeConfigurations() {
|
getIncludeConfigurations() {
|
||||||
return getOptionalInput('dependency-graph-include-configurations');
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
}
|
}
|
||||||
|
getPluginRepository() {
|
||||||
|
return new PluginRepositoryConfig();
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -157740,14 +157743,8 @@ class BuildScanConfig {
|
|||||||
getDevelocityCcudPluginVersion() {
|
getDevelocityCcudPluginVersion() {
|
||||||
return core.getInput('develocity-ccud-plugin-version');
|
return core.getInput('develocity-ccud-plugin-version');
|
||||||
}
|
}
|
||||||
getGradlePluginRepositoryUrl() {
|
getPluginRepository() {
|
||||||
return core.getInput('gradle-plugin-repository-url');
|
return new PluginRepositoryConfig();
|
||||||
}
|
|
||||||
getGradlePluginRepositoryUsername() {
|
|
||||||
return core.getInput('gradle-plugin-repository-username');
|
|
||||||
}
|
|
||||||
getGradlePluginRepositoryPassword() {
|
|
||||||
return core.getInput('gradle-plugin-repository-password');
|
|
||||||
}
|
}
|
||||||
verifyTermsOfUseAgreement() {
|
verifyTermsOfUseAgreement() {
|
||||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||||
@ -157762,6 +157759,18 @@ class BuildScanConfig {
|
|||||||
exports.BuildScanConfig = BuildScanConfig;
|
exports.BuildScanConfig = BuildScanConfig;
|
||||||
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
||||||
BuildScanConfig.GradleEnterpriseAccessKeyEnvVar = 'GRADLE_ENTERPRISE_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 {
|
class GradleExecutionConfig {
|
||||||
getGradleVersion() {
|
getGradleVersion() {
|
||||||
return core.getInput('gradle-version');
|
return core.getInput('gradle-version');
|
||||||
@ -157999,6 +158008,9 @@ async function setup(config) {
|
|||||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', config.getIncludeConfigurations());
|
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) {
|
function maybeExportVariable(variableName, value) {
|
||||||
if (!process.env[variableName]) {
|
if (!process.env[variableName]) {
|
||||||
@ -158368,9 +158380,9 @@ async function setup(config) {
|
|||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_CCUD_PLUGIN_VERSION', config.getDevelocityCcudPluginVersion());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_CCUD_PLUGIN_VERSION', config.getDevelocityCcudPluginVersion());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_URL', config.getPluginRepository().getUrl());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_USERNAME', config.getPluginRepository().getUsername());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_PASSWORD', config.getPluginRepository().getPassword());
|
||||||
if (config.getBuildScanPublishEnabled()) {
|
if (config.getBuildScanPublishEnabled()) {
|
||||||
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true');
|
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true');
|
||||||
maybeExportVariable('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', '4.0.2');
|
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
33
dist/dependency-submission/post/index.js
vendored
33
dist/dependency-submission/post/index.js
vendored
@ -118235,7 +118235,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
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.getJobMatrix = getJobMatrix;
|
||||||
exports.getGithubToken = getGithubToken;
|
exports.getGithubToken = getGithubToken;
|
||||||
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
||||||
@ -118298,6 +118298,9 @@ class DependencyGraphConfig {
|
|||||||
getIncludeConfigurations() {
|
getIncludeConfigurations() {
|
||||||
return getOptionalInput('dependency-graph-include-configurations');
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
}
|
}
|
||||||
|
getPluginRepository() {
|
||||||
|
return new PluginRepositoryConfig();
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -118484,14 +118487,8 @@ class BuildScanConfig {
|
|||||||
getDevelocityCcudPluginVersion() {
|
getDevelocityCcudPluginVersion() {
|
||||||
return core.getInput('develocity-ccud-plugin-version');
|
return core.getInput('develocity-ccud-plugin-version');
|
||||||
}
|
}
|
||||||
getGradlePluginRepositoryUrl() {
|
getPluginRepository() {
|
||||||
return core.getInput('gradle-plugin-repository-url');
|
return new PluginRepositoryConfig();
|
||||||
}
|
|
||||||
getGradlePluginRepositoryUsername() {
|
|
||||||
return core.getInput('gradle-plugin-repository-username');
|
|
||||||
}
|
|
||||||
getGradlePluginRepositoryPassword() {
|
|
||||||
return core.getInput('gradle-plugin-repository-password');
|
|
||||||
}
|
}
|
||||||
verifyTermsOfUseAgreement() {
|
verifyTermsOfUseAgreement() {
|
||||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||||
@ -118506,6 +118503,18 @@ class BuildScanConfig {
|
|||||||
exports.BuildScanConfig = BuildScanConfig;
|
exports.BuildScanConfig = BuildScanConfig;
|
||||||
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
||||||
BuildScanConfig.GradleEnterpriseAccessKeyEnvVar = 'GRADLE_ENTERPRISE_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 {
|
class GradleExecutionConfig {
|
||||||
getGradleVersion() {
|
getGradleVersion() {
|
||||||
return core.getInput('gradle-version');
|
return core.getInput('gradle-version');
|
||||||
@ -118828,9 +118837,9 @@ async function setup(config) {
|
|||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_CCUD_PLUGIN_VERSION', config.getDevelocityCcudPluginVersion());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_CCUD_PLUGIN_VERSION', config.getDevelocityCcudPluginVersion());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_URL', config.getPluginRepository().getUrl());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_USERNAME', config.getPluginRepository().getUsername());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_PASSWORD', config.getPluginRepository().getPassword());
|
||||||
if (config.getBuildScanPublishEnabled()) {
|
if (config.getBuildScanPublishEnabled()) {
|
||||||
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true');
|
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true');
|
||||||
maybeExportVariable('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', '4.0.2');
|
maybeExportVariable('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', '4.0.2');
|
||||||
|
2
dist/dependency-submission/post/index.js.map
vendored
2
dist/dependency-submission/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
36
dist/setup-gradle/main/index.js
vendored
36
dist/setup-gradle/main/index.js
vendored
@ -157476,7 +157476,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
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.getJobMatrix = getJobMatrix;
|
||||||
exports.getGithubToken = getGithubToken;
|
exports.getGithubToken = getGithubToken;
|
||||||
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
||||||
@ -157539,6 +157539,9 @@ class DependencyGraphConfig {
|
|||||||
getIncludeConfigurations() {
|
getIncludeConfigurations() {
|
||||||
return getOptionalInput('dependency-graph-include-configurations');
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
}
|
}
|
||||||
|
getPluginRepository() {
|
||||||
|
return new PluginRepositoryConfig();
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -157725,14 +157728,8 @@ class BuildScanConfig {
|
|||||||
getDevelocityCcudPluginVersion() {
|
getDevelocityCcudPluginVersion() {
|
||||||
return core.getInput('develocity-ccud-plugin-version');
|
return core.getInput('develocity-ccud-plugin-version');
|
||||||
}
|
}
|
||||||
getGradlePluginRepositoryUrl() {
|
getPluginRepository() {
|
||||||
return core.getInput('gradle-plugin-repository-url');
|
return new PluginRepositoryConfig();
|
||||||
}
|
|
||||||
getGradlePluginRepositoryUsername() {
|
|
||||||
return core.getInput('gradle-plugin-repository-username');
|
|
||||||
}
|
|
||||||
getGradlePluginRepositoryPassword() {
|
|
||||||
return core.getInput('gradle-plugin-repository-password');
|
|
||||||
}
|
}
|
||||||
verifyTermsOfUseAgreement() {
|
verifyTermsOfUseAgreement() {
|
||||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||||
@ -157747,6 +157744,18 @@ class BuildScanConfig {
|
|||||||
exports.BuildScanConfig = BuildScanConfig;
|
exports.BuildScanConfig = BuildScanConfig;
|
||||||
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
||||||
BuildScanConfig.GradleEnterpriseAccessKeyEnvVar = 'GRADLE_ENTERPRISE_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 {
|
class GradleExecutionConfig {
|
||||||
getGradleVersion() {
|
getGradleVersion() {
|
||||||
return core.getInput('gradle-version');
|
return core.getInput('gradle-version');
|
||||||
@ -157984,6 +157993,9 @@ async function setup(config) {
|
|||||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', config.getIncludeConfigurations());
|
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) {
|
function maybeExportVariable(variableName, value) {
|
||||||
if (!process.env[variableName]) {
|
if (!process.env[variableName]) {
|
||||||
@ -158353,9 +158365,9 @@ async function setup(config) {
|
|||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_CCUD_PLUGIN_VERSION', config.getDevelocityCcudPluginVersion());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_CCUD_PLUGIN_VERSION', config.getDevelocityCcudPluginVersion());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_URL', config.getPluginRepository().getUrl());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_USERNAME', config.getPluginRepository().getUsername());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_PASSWORD', config.getPluginRepository().getPassword());
|
||||||
if (config.getBuildScanPublishEnabled()) {
|
if (config.getBuildScanPublishEnabled()) {
|
||||||
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true');
|
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true');
|
||||||
maybeExportVariable('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', '4.0.2');
|
maybeExportVariable('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', '4.0.2');
|
||||||
|
2
dist/setup-gradle/main/index.js.map
vendored
2
dist/setup-gradle/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
36
dist/setup-gradle/post/index.js
vendored
36
dist/setup-gradle/post/index.js
vendored
@ -157471,7 +157471,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
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.getJobMatrix = getJobMatrix;
|
||||||
exports.getGithubToken = getGithubToken;
|
exports.getGithubToken = getGithubToken;
|
||||||
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
||||||
@ -157534,6 +157534,9 @@ class DependencyGraphConfig {
|
|||||||
getIncludeConfigurations() {
|
getIncludeConfigurations() {
|
||||||
return getOptionalInput('dependency-graph-include-configurations');
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
}
|
}
|
||||||
|
getPluginRepository() {
|
||||||
|
return new PluginRepositoryConfig();
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -157720,14 +157723,8 @@ class BuildScanConfig {
|
|||||||
getDevelocityCcudPluginVersion() {
|
getDevelocityCcudPluginVersion() {
|
||||||
return core.getInput('develocity-ccud-plugin-version');
|
return core.getInput('develocity-ccud-plugin-version');
|
||||||
}
|
}
|
||||||
getGradlePluginRepositoryUrl() {
|
getPluginRepository() {
|
||||||
return core.getInput('gradle-plugin-repository-url');
|
return new PluginRepositoryConfig();
|
||||||
}
|
|
||||||
getGradlePluginRepositoryUsername() {
|
|
||||||
return core.getInput('gradle-plugin-repository-username');
|
|
||||||
}
|
|
||||||
getGradlePluginRepositoryPassword() {
|
|
||||||
return core.getInput('gradle-plugin-repository-password');
|
|
||||||
}
|
}
|
||||||
verifyTermsOfUseAgreement() {
|
verifyTermsOfUseAgreement() {
|
||||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||||
@ -157742,6 +157739,18 @@ class BuildScanConfig {
|
|||||||
exports.BuildScanConfig = BuildScanConfig;
|
exports.BuildScanConfig = BuildScanConfig;
|
||||||
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
||||||
BuildScanConfig.GradleEnterpriseAccessKeyEnvVar = 'GRADLE_ENTERPRISE_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 {
|
class GradleExecutionConfig {
|
||||||
getGradleVersion() {
|
getGradleVersion() {
|
||||||
return core.getInput('gradle-version');
|
return core.getInput('gradle-version');
|
||||||
@ -157979,6 +157988,9 @@ async function setup(config) {
|
|||||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', config.getIncludeConfigurations());
|
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) {
|
function maybeExportVariable(variableName, value) {
|
||||||
if (!process.env[variableName]) {
|
if (!process.env[variableName]) {
|
||||||
@ -158348,9 +158360,9 @@ async function setup(config) {
|
|||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_CCUD_PLUGIN_VERSION', config.getDevelocityCcudPluginVersion());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_CCUD_PLUGIN_VERSION', config.getDevelocityCcudPluginVersion());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_URL', config.getPluginRepository().getUrl());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_USERNAME', config.getPluginRepository().getUsername());
|
||||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION__PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
|
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_PASSWORD', config.getPluginRepository().getPassword());
|
||||||
if (config.getBuildScanPublishEnabled()) {
|
if (config.getBuildScanPublishEnabled()) {
|
||||||
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true');
|
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true');
|
||||||
maybeExportVariable('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', '4.0.2');
|
maybeExportVariable('DEVELOCITY_INJECTION_DEVELOCITY_PLUGIN_VERSION', '4.0.2');
|
||||||
|
2
dist/setup-gradle/post/index.js.map
vendored
2
dist/setup-gradle/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
27
dist/wrapper-validation/main/index.js
vendored
27
dist/wrapper-validation/main/index.js
vendored
@ -110097,7 +110097,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
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.getJobMatrix = getJobMatrix;
|
||||||
exports.getGithubToken = getGithubToken;
|
exports.getGithubToken = getGithubToken;
|
||||||
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
exports.getWorkspaceDirectory = getWorkspaceDirectory;
|
||||||
@ -110160,6 +110160,9 @@ class DependencyGraphConfig {
|
|||||||
getIncludeConfigurations() {
|
getIncludeConfigurations() {
|
||||||
return getOptionalInput('dependency-graph-include-configurations');
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
}
|
}
|
||||||
|
getPluginRepository() {
|
||||||
|
return new PluginRepositoryConfig();
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -110346,14 +110349,8 @@ class BuildScanConfig {
|
|||||||
getDevelocityCcudPluginVersion() {
|
getDevelocityCcudPluginVersion() {
|
||||||
return core.getInput('develocity-ccud-plugin-version');
|
return core.getInput('develocity-ccud-plugin-version');
|
||||||
}
|
}
|
||||||
getGradlePluginRepositoryUrl() {
|
getPluginRepository() {
|
||||||
return core.getInput('gradle-plugin-repository-url');
|
return new PluginRepositoryConfig();
|
||||||
}
|
|
||||||
getGradlePluginRepositoryUsername() {
|
|
||||||
return core.getInput('gradle-plugin-repository-username');
|
|
||||||
}
|
|
||||||
getGradlePluginRepositoryPassword() {
|
|
||||||
return core.getInput('gradle-plugin-repository-password');
|
|
||||||
}
|
}
|
||||||
verifyTermsOfUseAgreement() {
|
verifyTermsOfUseAgreement() {
|
||||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||||
@ -110368,6 +110365,18 @@ class BuildScanConfig {
|
|||||||
exports.BuildScanConfig = BuildScanConfig;
|
exports.BuildScanConfig = BuildScanConfig;
|
||||||
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
BuildScanConfig.DevelocityAccessKeyEnvVar = 'DEVELOCITY_ACCESS_KEY';
|
||||||
BuildScanConfig.GradleEnterpriseAccessKeyEnvVar = 'GRADLE_ENTERPRISE_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 {
|
class GradleExecutionConfig {
|
||||||
getGradleVersion() {
|
getGradleVersion() {
|
||||||
return core.getInput('gradle-version');
|
return core.getInput('gradle-version');
|
||||||
|
2
dist/wrapper-validation/main/index.js.map
vendored
2
dist/wrapper-validation/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user