[bot] Update dist directory

This commit is contained in:
bigdaz
2024-08-06 14:52:54 +00:00
committed by github-actions[bot]
parent a5a9e731f3
commit 1eb9607ae7
10 changed files with 63147 additions and 40293 deletions

View File

@@ -70796,14 +70796,16 @@ exports.debug = debug; // for test
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpCodes = void 0;
const url = __nccwpck_require__(7310);
const http = __nccwpck_require__(3685);
const https = __nccwpck_require__(5687);
@@ -70839,10 +70841,10 @@ var HttpCodes;
HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway";
HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable";
HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout";
})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));
})(HttpCodes || (exports.HttpCodes = HttpCodes = {}));
const HttpRedirectCodes = [HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, HttpCodes.SeeOther, HttpCodes.TemporaryRedirect, HttpCodes.PermanentRedirect];
const HttpResponseRetryCodes = [HttpCodes.BadGateway, HttpCodes.ServiceUnavailable, HttpCodes.GatewayTimeout];
const NetworkRetryErrors = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED'];
const NetworkRetryErrors = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED', 'EHOSTUNREACH'];
const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];
const ExponentialBackoffCeiling = 10;
const ExponentialBackoffTimeSlice = 5;
@@ -71306,14 +71308,16 @@ exports.HttpClient = HttpClient;
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.obtainContentCharset = exports.buildProxyBypassRegexFromEnv = exports.decompressGzippedContent = exports.getUrl = void 0;
const qs = __nccwpck_require__(2760);
const url = __nccwpck_require__(7310);
const path = __nccwpck_require__(1017);
@@ -71442,7 +71446,10 @@ function obtainContentCharset(response) {
const nodeSupportedEncodings = ['ascii', 'utf8', 'utf16le', 'ucs2', 'base64', 'binary', 'hex'];
const contentType = response.message.headers['content-type'] || '';
const matches = contentType.match(/charset=([^;,\r\n]+)/i);
return (matches && matches[1] && nodeSupportedEncodings.indexOf(matches[1]) != -1) ? matches[1] : 'utf-8';
if (matches && matches[1] && nodeSupportedEncodings.indexOf(matches[1]) != -1) {
return matches[1];
}
return 'utf-8';
}
exports.obtainContentCharset = obtainContentCharset;
@@ -100915,7 +100922,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.run = void 0;
exports.run = run;
const path = __importStar(__nccwpck_require__(1017));
const core = __importStar(__nccwpck_require__(2186));
const validate = __importStar(__nccwpck_require__(8568));
@@ -100951,7 +100958,6 @@ async function run() {
(0, errors_1.handleMainActionError)(error);
}
}
exports.run = run;
run();
@@ -100989,7 +100995,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.parseNumericInput = exports.setActionId = exports.getActionId = exports.getWorkspaceDirectory = exports.getGithubToken = exports.getJobMatrix = 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.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;
exports.getActionId = getActionId;
exports.setActionId = setActionId;
exports.parseNumericInput = parseNumericInput;
const core = __importStar(__nccwpck_require__(2186));
const github = __importStar(__nccwpck_require__(5438));
const cache = __importStar(__nccwpck_require__(7799));
@@ -101289,23 +101301,18 @@ exports.WrapperValidationConfig = WrapperValidationConfig;
function getJobMatrix() {
return core.getInput('workflow-job-context');
}
exports.getJobMatrix = getJobMatrix;
function getGithubToken() {
return core.getInput('github-token', { required: true });
}
exports.getGithubToken = getGithubToken;
function getWorkspaceDirectory() {
return process.env[`GITHUB_WORKSPACE`] || '';
}
exports.getWorkspaceDirectory = getWorkspaceDirectory;
function getActionId() {
return process.env[ACTION_ID_VAR];
}
exports.getActionId = getActionId;
function setActionId(id) {
core.exportVariable(ACTION_ID_VAR, id);
}
exports.setActionId = setActionId;
function parseNumericInput(paramName, paramValue, paramDefault) {
if (paramValue.length === 0) {
return paramDefault;
@@ -101316,7 +101323,6 @@ function parseNumericInput(paramName, paramValue, paramDefault) {
}
return numericValue;
}
exports.parseNumericInput = parseNumericInput;
function getOptionalInput(paramName) {
const paramValue = core.getInput(paramName);
if (paramValue.length > 0) {
@@ -101376,7 +101382,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.restoreDeprecationState = exports.saveDeprecationState = exports.emitDeprecationWarnings = exports.getErrors = exports.getDeprecations = exports.failOnUseOfRemovedFeature = exports.recordDeprecation = exports.Deprecation = void 0;
exports.Deprecation = void 0;
exports.recordDeprecation = recordDeprecation;
exports.failOnUseOfRemovedFeature = failOnUseOfRemovedFeature;
exports.getDeprecations = getDeprecations;
exports.getErrors = getErrors;
exports.emitDeprecationWarnings = emitDeprecationWarnings;
exports.saveDeprecationState = saveDeprecationState;
exports.restoreDeprecationState = restoreDeprecationState;
const core = __importStar(__nccwpck_require__(2186));
const configuration_1 = __nccwpck_require__(5778);
const DEPRECATION_UPGRADE_PAGE = 'https://github.com/gradle/actions/blob/main/docs/deprecation-upgrade-guide.md';
@@ -101400,22 +101413,18 @@ function recordDeprecation(message) {
recordedDeprecations.push(new Deprecation(message));
}
}
exports.recordDeprecation = recordDeprecation;
function failOnUseOfRemovedFeature(removalMessage, deprecationMessage = removalMessage) {
const deprecation = new Deprecation(deprecationMessage);
const errorMessage = `${removalMessage}.\nSee ${deprecation.getDocumentationLink()}`;
recordedErrors.push(errorMessage);
core.setFailed(errorMessage);
}
exports.failOnUseOfRemovedFeature = failOnUseOfRemovedFeature;
function getDeprecations() {
return recordedDeprecations;
}
exports.getDeprecations = getDeprecations;
function getErrors() {
return recordedErrors;
}
exports.getErrors = getErrors;
function emitDeprecationWarnings(hasJobSummary = true) {
if (recordedDeprecations.length > 0) {
core.warning(`This job uses deprecated functionality from the '${(0, configuration_1.getActionId)()}' action. Consult the ${hasJobSummary ? 'Job Summary' : 'logs'} for more details.`);
@@ -101424,12 +101433,10 @@ function emitDeprecationWarnings(hasJobSummary = true) {
}
}
}
exports.emitDeprecationWarnings = emitDeprecationWarnings;
function saveDeprecationState() {
core.saveState('deprecation-collector_deprecations', JSON.stringify(recordedDeprecations));
core.saveState('deprecation-collector_errors', JSON.stringify(recordedErrors));
}
exports.saveDeprecationState = saveDeprecationState;
function restoreDeprecationState() {
const savedDeprecations = core.getState('deprecation-collector_deprecations');
if (savedDeprecations) {
@@ -101442,7 +101449,6 @@ function restoreDeprecationState() {
recordedErrors.push(...JSON.parse(savedErrors));
}
}
exports.restoreDeprecationState = restoreDeprecationState;
/***/ }),
@@ -101476,7 +101482,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.handlePostActionError = exports.handleMainActionError = exports.JobFailure = void 0;
exports.JobFailure = void 0;
exports.handleMainActionError = handleMainActionError;
exports.handlePostActionError = handlePostActionError;
const core = __importStar(__nccwpck_require__(2186));
class JobFailure extends Error {
constructor(error) {
@@ -101514,7 +101522,6 @@ function handleMainActionError(error) {
}
}
}
exports.handleMainActionError = handleMainActionError;
function handlePostActionError(error) {
if (error instanceof JobFailure) {
core.setFailed(String(error));
@@ -101529,7 +101536,6 @@ function handlePostActionError(error) {
}
}
}
exports.handlePostActionError = handlePostActionError;
/***/ }),
@@ -101566,7 +101572,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.addDistributionSnapshotChecksums = exports.fetchUnknownChecksums = exports.KNOWN_CHECKSUMS = exports.WrapperChecksums = void 0;
exports.KNOWN_CHECKSUMS = exports.WrapperChecksums = void 0;
exports.fetchUnknownChecksums = fetchUnknownChecksums;
exports.addDistributionSnapshotChecksums = addDistributionSnapshotChecksums;
const httpm = __importStar(__nccwpck_require__(5538));
const cheerio = __importStar(__nccwpck_require__(4612));
const wrapper_checksums_json_1 = __importDefault(__nccwpck_require__(3802));
@@ -101609,7 +101617,6 @@ async function fetchUnknownChecksums(allowSnapshots, knownChecksums) {
}));
return new Set(checksums);
}
exports.fetchUnknownChecksums = fetchUnknownChecksums;
async function httpGetJsonArray(url) {
return JSON.parse(await httpGetText(url));
}
@@ -101626,7 +101633,6 @@ async function addDistributionSnapshotChecksums(checksumUrls) {
checksumUrls.push(`https://services.gradle.org${url}`);
});
}
exports.addDistributionSnapshotChecksums = addDistributionSnapshotChecksums;
/***/ }),
@@ -101663,7 +101669,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.findWrapperJars = void 0;
exports.findWrapperJars = findWrapperJars;
const util = __importStar(__nccwpck_require__(3837));
const path = __importStar(__nccwpck_require__(1017));
const fs = __importStar(__nccwpck_require__(7147));
@@ -101676,7 +101682,6 @@ async function findWrapperJars(baseDir) {
.map(wrapperJar => path.relative(baseDir, wrapperJar))
.sort((a, b) => a.localeCompare(b));
}
exports.findWrapperJars = findWrapperJars;
async function recursivelyListFiles(baseDir) {
const childrenNames = await readdir(baseDir);
const childrenPaths = await Promise.all(childrenNames.map(async (childName) => {
@@ -101720,7 +101725,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.sha256File = void 0;
exports.sha256File = sha256File;
const crypto = __importStar(__nccwpck_require__(6113));
const fs = __importStar(__nccwpck_require__(7147));
async function sha256File(path) {
@@ -101738,7 +101743,6 @@ async function sha256File(path) {
});
});
}
exports.sha256File = sha256File;
/***/ }),
@@ -101772,7 +101776,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.WrapperJar = exports.ValidationResult = exports.findInvalidWrapperJars = void 0;
exports.WrapperJar = exports.ValidationResult = void 0;
exports.findInvalidWrapperJars = findInvalidWrapperJars;
const find = __importStar(__nccwpck_require__(849));
const checksums = __importStar(__nccwpck_require__(907));
const hash = __importStar(__nccwpck_require__(79));
@@ -101808,7 +101813,6 @@ async function findInvalidWrapperJars(gitRepoRoot, allowSnapshots, allowedChecks
}
return result;
}
exports.findInvalidWrapperJars = findInvalidWrapperJars;
class ValidationResult {
constructor(valid, invalid) {
this.fetchedChecksums = false;

File diff suppressed because one or more lines are too long