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
30c82f0068
commit
9c3430720d
20
dist/dependency-submission/main/index.js
vendored
20
dist/dependency-submission/main/index.js
vendored
@@ -144431,19 +144431,19 @@ class BuildScanConfig {
|
||||
return core.getInput('develocity-token-expiry');
|
||||
}
|
||||
getDevelocityInjectionEnabled() {
|
||||
return getMaybeBooleanInput('develocity-injection-enabled');
|
||||
return getOptionalBooleanInput('develocity-injection-enabled');
|
||||
}
|
||||
getDevelocityUrl() {
|
||||
return core.getInput('develocity-url');
|
||||
}
|
||||
getDevelocityAllowUntrustedServer() {
|
||||
return getMaybeBooleanInput('develocity-allow-untrusted-server');
|
||||
return getOptionalBooleanInput('develocity-allow-untrusted-server');
|
||||
}
|
||||
getDevelocityCaptureFileFingerprints() {
|
||||
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
|
||||
return getOptionalBooleanInput('develocity-capture-file-fingerprints');
|
||||
}
|
||||
getDevelocityEnforceUrl() {
|
||||
return getMaybeBooleanInput('develocity-enforce-url');
|
||||
return getOptionalBooleanInput('develocity-enforce-url');
|
||||
}
|
||||
getDevelocityPluginVersion() {
|
||||
return core.getInput('develocity-plugin-version');
|
||||
@@ -144559,16 +144559,12 @@ function getBooleanInput(paramName, paramDefault = false) {
|
||||
}
|
||||
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
|
||||
}
|
||||
function getMaybeBooleanInput(paramName) {
|
||||
function getOptionalBooleanInput(paramName) {
|
||||
const paramValue = core.getInput(paramName);
|
||||
switch (paramValue?.toLowerCase().trim()) {
|
||||
case 'false':
|
||||
return false;
|
||||
case 'true':
|
||||
return true;
|
||||
default:
|
||||
return undefined;
|
||||
if (paramValue === '') {
|
||||
return undefined;
|
||||
}
|
||||
return getBooleanInput(paramName);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user