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:
committed by
github-actions[bot]
parent
d0a116fff5
commit
c1091c9c8e
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
Reference in New Issue
Block a user