mirror of
https://github.com/gradle/actions
synced 2024-11-23 18:02:13 +00:00
[bot] Update dist directory
This commit is contained in:
parent
d0a116fff5
commit
c1091c9c8e
10 changed files with 266 additions and 5 deletions
55
dist/dependency-submission/main/index.js
vendored
55
dist/dependency-submission/main/index.js
vendored
|
@ -144430,6 +144430,36 @@ class BuildScanConfig {
|
|||
getDevelocityTokenExpiry() {
|
||||
return core.getInput('develocity-token-expiry');
|
||||
}
|
||||
getDevelocityInjectionEnabled() {
|
||||
return getMaybeBooleanInput('develocity-injection-enabled');
|
||||
}
|
||||
getDevelocityUrl() {
|
||||
return core.getInput('develocity-url');
|
||||
}
|
||||
getDevelocityAllowUntrustedServer() {
|
||||
return getMaybeBooleanInput('develocity-allow-untrusted-server');
|
||||
}
|
||||
getDevelocityCaptureFileFingerprints() {
|
||||
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
|
||||
}
|
||||
getDevelocityEnforceUrl() {
|
||||
return getMaybeBooleanInput('develocity-enforce-url');
|
||||
}
|
||||
getDevelocityPluginVersion() {
|
||||
return core.getInput('develocity-plugin-version');
|
||||
}
|
||||
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');
|
||||
}
|
||||
verifyTermsOfUseAgreement() {
|
||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
|
||||
|
@ -144529,6 +144559,17 @@ function getBooleanInput(paramName, paramDefault = false) {
|
|||
}
|
||||
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
|
||||
}
|
||||
function getMaybeBooleanInput(paramName) {
|
||||
const paramValue = core.getInput(paramName);
|
||||
switch (paramValue?.toLowerCase().trim()) {
|
||||
case 'false':
|
||||
return false;
|
||||
case 'true':
|
||||
return true;
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
@ -145041,6 +145082,15 @@ async function setup(config) {
|
|||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
|
||||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree());
|
||||
}
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENABLED', config.getDevelocityInjectionEnabled());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_URL', config.getDevelocityUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_ALLOW_UNTRUSTED_SERVER', config.getDevelocityAllowUntrustedServer());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_CAPTURE_FILE_FINGERPRINTS', config.getDevelocityCaptureFileFingerprints());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
|
||||
(0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
|
||||
}
|
||||
exports.setup = setup;
|
||||
|
@ -145052,6 +145102,11 @@ function maybeExportVariable(variableName, value) {
|
|||
core.exportVariable(variableName, value);
|
||||
}
|
||||
}
|
||||
function maybeExportVariableNotEmpty(variableName, value) {
|
||||
if (value !== null && value !== undefined && value !== '') {
|
||||
maybeExportVariable(variableName, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
|
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
55
dist/dependency-submission/post/index.js
vendored
55
dist/dependency-submission/post/index.js
vendored
|
@ -95858,6 +95858,36 @@ class BuildScanConfig {
|
|||
getDevelocityTokenExpiry() {
|
||||
return core.getInput('develocity-token-expiry');
|
||||
}
|
||||
getDevelocityInjectionEnabled() {
|
||||
return getMaybeBooleanInput('develocity-injection-enabled');
|
||||
}
|
||||
getDevelocityUrl() {
|
||||
return core.getInput('develocity-url');
|
||||
}
|
||||
getDevelocityAllowUntrustedServer() {
|
||||
return getMaybeBooleanInput('develocity-allow-untrusted-server');
|
||||
}
|
||||
getDevelocityCaptureFileFingerprints() {
|
||||
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
|
||||
}
|
||||
getDevelocityEnforceUrl() {
|
||||
return getMaybeBooleanInput('develocity-enforce-url');
|
||||
}
|
||||
getDevelocityPluginVersion() {
|
||||
return core.getInput('develocity-plugin-version');
|
||||
}
|
||||
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');
|
||||
}
|
||||
verifyTermsOfUseAgreement() {
|
||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
|
||||
|
@ -95957,6 +95987,17 @@ function getBooleanInput(paramName, paramDefault = false) {
|
|||
}
|
||||
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
|
||||
}
|
||||
function getMaybeBooleanInput(paramName) {
|
||||
const paramValue = core.getInput(paramName);
|
||||
switch (paramValue?.toLowerCase().trim()) {
|
||||
case 'false':
|
||||
return false;
|
||||
case 'true':
|
||||
return true;
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
@ -96198,6 +96239,15 @@ async function setup(config) {
|
|||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
|
||||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree());
|
||||
}
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENABLED', config.getDevelocityInjectionEnabled());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_URL', config.getDevelocityUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_ALLOW_UNTRUSTED_SERVER', config.getDevelocityAllowUntrustedServer());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_CAPTURE_FILE_FINGERPRINTS', config.getDevelocityCaptureFileFingerprints());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
|
||||
(0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
|
||||
}
|
||||
exports.setup = setup;
|
||||
|
@ -96209,6 +96259,11 @@ function maybeExportVariable(variableName, value) {
|
|||
core.exportVariable(variableName, value);
|
||||
}
|
||||
}
|
||||
function maybeExportVariableNotEmpty(variableName, value) {
|
||||
if (value !== null && value !== undefined && value !== '') {
|
||||
maybeExportVariable(variableName, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
|
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
55
dist/setup-gradle/main/index.js
vendored
55
dist/setup-gradle/main/index.js
vendored
|
@ -144430,6 +144430,36 @@ class BuildScanConfig {
|
|||
getDevelocityTokenExpiry() {
|
||||
return core.getInput('develocity-token-expiry');
|
||||
}
|
||||
getDevelocityInjectionEnabled() {
|
||||
return getMaybeBooleanInput('develocity-injection-enabled');
|
||||
}
|
||||
getDevelocityUrl() {
|
||||
return core.getInput('develocity-url');
|
||||
}
|
||||
getDevelocityAllowUntrustedServer() {
|
||||
return getMaybeBooleanInput('develocity-allow-untrusted-server');
|
||||
}
|
||||
getDevelocityCaptureFileFingerprints() {
|
||||
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
|
||||
}
|
||||
getDevelocityEnforceUrl() {
|
||||
return getMaybeBooleanInput('develocity-enforce-url');
|
||||
}
|
||||
getDevelocityPluginVersion() {
|
||||
return core.getInput('develocity-plugin-version');
|
||||
}
|
||||
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');
|
||||
}
|
||||
verifyTermsOfUseAgreement() {
|
||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
|
||||
|
@ -144529,6 +144559,17 @@ function getBooleanInput(paramName, paramDefault = false) {
|
|||
}
|
||||
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
|
||||
}
|
||||
function getMaybeBooleanInput(paramName) {
|
||||
const paramValue = core.getInput(paramName);
|
||||
switch (paramValue?.toLowerCase().trim()) {
|
||||
case 'false':
|
||||
return false;
|
||||
case 'true':
|
||||
return true;
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
@ -144969,6 +145010,15 @@ async function setup(config) {
|
|||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
|
||||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree());
|
||||
}
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENABLED', config.getDevelocityInjectionEnabled());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_URL', config.getDevelocityUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_ALLOW_UNTRUSTED_SERVER', config.getDevelocityAllowUntrustedServer());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_CAPTURE_FILE_FINGERPRINTS', config.getDevelocityCaptureFileFingerprints());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
|
||||
(0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
|
||||
}
|
||||
exports.setup = setup;
|
||||
|
@ -144980,6 +145030,11 @@ function maybeExportVariable(variableName, value) {
|
|||
core.exportVariable(variableName, value);
|
||||
}
|
||||
}
|
||||
function maybeExportVariableNotEmpty(variableName, value) {
|
||||
if (value !== null && value !== undefined && value !== '') {
|
||||
maybeExportVariable(variableName, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
|
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
55
dist/setup-gradle/post/index.js
vendored
55
dist/setup-gradle/post/index.js
vendored
|
@ -141883,6 +141883,36 @@ class BuildScanConfig {
|
|||
getDevelocityTokenExpiry() {
|
||||
return core.getInput('develocity-token-expiry');
|
||||
}
|
||||
getDevelocityInjectionEnabled() {
|
||||
return getMaybeBooleanInput('develocity-injection-enabled');
|
||||
}
|
||||
getDevelocityUrl() {
|
||||
return core.getInput('develocity-url');
|
||||
}
|
||||
getDevelocityAllowUntrustedServer() {
|
||||
return getMaybeBooleanInput('develocity-allow-untrusted-server');
|
||||
}
|
||||
getDevelocityCaptureFileFingerprints() {
|
||||
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
|
||||
}
|
||||
getDevelocityEnforceUrl() {
|
||||
return getMaybeBooleanInput('develocity-enforce-url');
|
||||
}
|
||||
getDevelocityPluginVersion() {
|
||||
return core.getInput('develocity-plugin-version');
|
||||
}
|
||||
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');
|
||||
}
|
||||
verifyTermsOfUseAgreement() {
|
||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
|
||||
|
@ -141982,6 +142012,17 @@ function getBooleanInput(paramName, paramDefault = false) {
|
|||
}
|
||||
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
|
||||
}
|
||||
function getMaybeBooleanInput(paramName) {
|
||||
const paramValue = core.getInput(paramName);
|
||||
switch (paramValue?.toLowerCase().trim()) {
|
||||
case 'false':
|
||||
return false;
|
||||
case 'true':
|
||||
return true;
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
@ -142422,6 +142463,15 @@ async function setup(config) {
|
|||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
|
||||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree());
|
||||
}
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENABLED', config.getDevelocityInjectionEnabled());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_URL', config.getDevelocityUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_ALLOW_UNTRUSTED_SERVER', config.getDevelocityAllowUntrustedServer());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_CAPTURE_FILE_FINGERPRINTS', config.getDevelocityCaptureFileFingerprints());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_ENFORCE_URL', config.getDevelocityEnforceUrl());
|
||||
maybeExportVariableNotEmpty('DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
|
||||
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
|
||||
(0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
|
||||
}
|
||||
exports.setup = setup;
|
||||
|
@ -142433,6 +142483,11 @@ function maybeExportVariable(variableName, value) {
|
|||
core.exportVariable(variableName, value);
|
||||
}
|
||||
}
|
||||
function maybeExportVariableNotEmpty(variableName, value) {
|
||||
if (value !== null && value !== undefined && value !== '') {
|
||||
maybeExportVariable(variableName, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
|
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
41
dist/wrapper-validation/main/index.js
vendored
41
dist/wrapper-validation/main/index.js
vendored
|
@ -90062,6 +90062,36 @@ class BuildScanConfig {
|
|||
getDevelocityTokenExpiry() {
|
||||
return core.getInput('develocity-token-expiry');
|
||||
}
|
||||
getDevelocityInjectionEnabled() {
|
||||
return getMaybeBooleanInput('develocity-injection-enabled');
|
||||
}
|
||||
getDevelocityUrl() {
|
||||
return core.getInput('develocity-url');
|
||||
}
|
||||
getDevelocityAllowUntrustedServer() {
|
||||
return getMaybeBooleanInput('develocity-allow-untrusted-server');
|
||||
}
|
||||
getDevelocityCaptureFileFingerprints() {
|
||||
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
|
||||
}
|
||||
getDevelocityEnforceUrl() {
|
||||
return getMaybeBooleanInput('develocity-enforce-url');
|
||||
}
|
||||
getDevelocityPluginVersion() {
|
||||
return core.getInput('develocity-plugin-version');
|
||||
}
|
||||
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');
|
||||
}
|
||||
verifyTermsOfUseAgreement() {
|
||||
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
|
||||
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
|
||||
|
@ -90161,6 +90191,17 @@ function getBooleanInput(paramName, paramDefault = false) {
|
|||
}
|
||||
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
|
||||
}
|
||||
function getMaybeBooleanInput(paramName) {
|
||||
const paramValue = core.getInput(paramName);
|
||||
switch (paramValue?.toLowerCase().trim()) {
|
||||
case 'false':
|
||||
return false;
|
||||
case 'true':
|
||||
return true;
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
|
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…
Reference in a new issue