Unverified Commit 6c9e5473 authored by bigdaz's avatar bigdaz Committed by daz
Browse files

[bot] Update dist directory

parent 1a11891c
Loading
Loading
Loading
Loading
+32 −8
Changes for dist/dependency-submission/main/index.js: 32 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -145251,11 +145251,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
    return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.restoreDeprecationState = exports.saveDeprecationState = exports.emitDeprecationWarnings = exports.getDeprecations = exports.failOnUseOfRemovedFeature = exports.recordDeprecation = exports.Deprecation = void 0;
exports.restoreDeprecationState = exports.saveDeprecationState = exports.emitDeprecationWarnings = exports.getErrors = exports.getDeprecations = exports.failOnUseOfRemovedFeature = exports.recordDeprecation = exports.Deprecation = void 0;
const core = __importStar(__nccwpck_require__(42186));
const configuration_1 = __nccwpck_require__(15778);
const DEPRECATION_UPGRADE_PAGE = 'https://github.com/gradle/actions/blob/main/docs/deprecation-upgrade-guide.md';
const recordedDeprecations = [];
const recordedErrors = [];
class Deprecation {
    constructor(message) {
        this.message = message;
@@ -145277,13 +145278,19 @@ function recordDeprecation(message) {
exports.recordDeprecation = recordDeprecation;
function failOnUseOfRemovedFeature(removalMessage, deprecationMessage = removalMessage) {
    const deprecation = new Deprecation(deprecationMessage);
    core.error(`${removalMessage}. See ${deprecation.getDocumentationLink()}`);
    const errorMessage = `${removalMessage}. See ${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.`);
@@ -145294,18 +145301,22 @@ function emitDeprecationWarnings(hasJobSummary = true) {
}
exports.emitDeprecationWarnings = emitDeprecationWarnings;
function saveDeprecationState() {
    core.saveState('deprecations', JSON.stringify(recordedDeprecations));
    core.saveState('deprecation-collector_deprecations', JSON.stringify(recordedDeprecations));
    core.saveState('deprecation-collector_errors', JSON.stringify(recordedErrors));
}
exports.saveDeprecationState = saveDeprecationState;
function restoreDeprecationState() {
    const stringRep = core.getState('deprecations');
    if (stringRep === '') {
        return;
    }
    JSON.parse(stringRep).forEach((obj) => {
    const savedDeprecations = core.getState('deprecation-collector_deprecations');
    if (savedDeprecations) {
        JSON.parse(savedDeprecations).forEach((obj) => {
            recordedDeprecations.push(new Deprecation(obj.message));
        });
    }
    const savedErrors = core.getState('deprecation-collector_errors');
    if (savedErrors) {
        recordedErrors.push(...JSON.parse(savedErrors));
    }
}
exports.restoreDeprecationState = restoreDeprecationState;
@@ -146003,6 +146014,12 @@ const request_error_1 = __nccwpck_require__(10537);
const configuration_1 = __nccwpck_require__(15778);
const deprecation_collector_1 = __nccwpck_require__(22572);
async function generateJobSummary(buildResults, cachingReport, config) {
    const errors = renderErrors();
    if (errors) {
        core.summary.addRaw(errors);
        await core.summary.write();
        return;
    }
    const summaryTable = renderSummaryTable(buildResults.results);
    const hasFailure = buildResults.anyFailed();
    if (config.shouldGenerateJobSummary(hasFailure)) {
@@ -146069,6 +146086,13 @@ function renderSummaryTable(results) {
    return `${renderDeprecations()}\n${renderBuildResults(results)}`;
}
exports.renderSummaryTable = renderSummaryTable;
function renderErrors() {
    const errors = (0, deprecation_collector_1.getErrors)();
    if (errors.length === 0) {
        return undefined;
    }
    return errors.map(error => `<b>:x: ${error}</b>`).join('\n');
}
function renderDeprecations() {
    const deprecations = (0, deprecation_collector_1.getDeprecations)();
    if (deprecations.length === 0) {
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+32 −8
Changes for dist/dependency-submission/post/index.js: 32 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -98930,11 +98930,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
    return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.restoreDeprecationState = exports.saveDeprecationState = exports.emitDeprecationWarnings = exports.getDeprecations = exports.failOnUseOfRemovedFeature = exports.recordDeprecation = exports.Deprecation = void 0;
exports.restoreDeprecationState = exports.saveDeprecationState = exports.emitDeprecationWarnings = exports.getErrors = exports.getDeprecations = exports.failOnUseOfRemovedFeature = exports.recordDeprecation = exports.Deprecation = void 0;
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';
const recordedDeprecations = [];
const recordedErrors = [];
class Deprecation {
    constructor(message) {
        this.message = message;
@@ -98956,13 +98957,19 @@ function recordDeprecation(message) {
exports.recordDeprecation = recordDeprecation;
function failOnUseOfRemovedFeature(removalMessage, deprecationMessage = removalMessage) {
    const deprecation = new Deprecation(deprecationMessage);
    core.error(`${removalMessage}. See ${deprecation.getDocumentationLink()}`);
    const errorMessage = `${removalMessage}. See ${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.`);
@@ -98973,18 +98980,22 @@ function emitDeprecationWarnings(hasJobSummary = true) {
}
exports.emitDeprecationWarnings = emitDeprecationWarnings;
function saveDeprecationState() {
    core.saveState('deprecations', JSON.stringify(recordedDeprecations));
    core.saveState('deprecation-collector_deprecations', JSON.stringify(recordedDeprecations));
    core.saveState('deprecation-collector_errors', JSON.stringify(recordedErrors));
}
exports.saveDeprecationState = saveDeprecationState;
function restoreDeprecationState() {
    const stringRep = core.getState('deprecations');
    if (stringRep === '') {
        return;
    }
    JSON.parse(stringRep).forEach((obj) => {
    const savedDeprecations = core.getState('deprecation-collector_deprecations');
    if (savedDeprecations) {
        JSON.parse(savedDeprecations).forEach((obj) => {
            recordedDeprecations.push(new Deprecation(obj.message));
        });
    }
    const savedErrors = core.getState('deprecation-collector_errors');
    if (savedErrors) {
        recordedErrors.push(...JSON.parse(savedErrors));
    }
}
exports.restoreDeprecationState = restoreDeprecationState;
@@ -99682,6 +99693,12 @@ const request_error_1 = __nccwpck_require__(537);
const configuration_1 = __nccwpck_require__(5778);
const deprecation_collector_1 = __nccwpck_require__(2572);
async function generateJobSummary(buildResults, cachingReport, config) {
    const errors = renderErrors();
    if (errors) {
        core.summary.addRaw(errors);
        await core.summary.write();
        return;
    }
    const summaryTable = renderSummaryTable(buildResults.results);
    const hasFailure = buildResults.anyFailed();
    if (config.shouldGenerateJobSummary(hasFailure)) {
@@ -99748,6 +99765,13 @@ function renderSummaryTable(results) {
    return `${renderDeprecations()}\n${renderBuildResults(results)}`;
}
exports.renderSummaryTable = renderSummaryTable;
function renderErrors() {
    const errors = (0, deprecation_collector_1.getErrors)();
    if (errors.length === 0) {
        return undefined;
    }
    return errors.map(error => `<b>:x: ${error}</b>`).join('\n');
}
function renderDeprecations() {
    const deprecations = (0, deprecation_collector_1.getDeprecations)();
    if (deprecations.length === 0) {
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+32 −8
Changes for dist/setup-gradle/main/index.js: 32 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -145239,11 +145239,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
    return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.restoreDeprecationState = exports.saveDeprecationState = exports.emitDeprecationWarnings = exports.getDeprecations = exports.failOnUseOfRemovedFeature = exports.recordDeprecation = exports.Deprecation = void 0;
exports.restoreDeprecationState = exports.saveDeprecationState = exports.emitDeprecationWarnings = exports.getErrors = exports.getDeprecations = exports.failOnUseOfRemovedFeature = exports.recordDeprecation = exports.Deprecation = void 0;
const core = __importStar(__nccwpck_require__(42186));
const configuration_1 = __nccwpck_require__(15778);
const DEPRECATION_UPGRADE_PAGE = 'https://github.com/gradle/actions/blob/main/docs/deprecation-upgrade-guide.md';
const recordedDeprecations = [];
const recordedErrors = [];
class Deprecation {
    constructor(message) {
        this.message = message;
@@ -145265,13 +145266,19 @@ function recordDeprecation(message) {
exports.recordDeprecation = recordDeprecation;
function failOnUseOfRemovedFeature(removalMessage, deprecationMessage = removalMessage) {
    const deprecation = new Deprecation(deprecationMessage);
    core.error(`${removalMessage}. See ${deprecation.getDocumentationLink()}`);
    const errorMessage = `${removalMessage}. See ${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.`);
@@ -145282,18 +145289,22 @@ function emitDeprecationWarnings(hasJobSummary = true) {
}
exports.emitDeprecationWarnings = emitDeprecationWarnings;
function saveDeprecationState() {
    core.saveState('deprecations', JSON.stringify(recordedDeprecations));
    core.saveState('deprecation-collector_deprecations', JSON.stringify(recordedDeprecations));
    core.saveState('deprecation-collector_errors', JSON.stringify(recordedErrors));
}
exports.saveDeprecationState = saveDeprecationState;
function restoreDeprecationState() {
    const stringRep = core.getState('deprecations');
    if (stringRep === '') {
        return;
    }
    JSON.parse(stringRep).forEach((obj) => {
    const savedDeprecations = core.getState('deprecation-collector_deprecations');
    if (savedDeprecations) {
        JSON.parse(savedDeprecations).forEach((obj) => {
            recordedDeprecations.push(new Deprecation(obj.message));
        });
    }
    const savedErrors = core.getState('deprecation-collector_errors');
    if (savedErrors) {
        recordedErrors.push(...JSON.parse(savedErrors));
    }
}
exports.restoreDeprecationState = restoreDeprecationState;
@@ -145991,6 +146002,12 @@ const request_error_1 = __nccwpck_require__(10537);
const configuration_1 = __nccwpck_require__(15778);
const deprecation_collector_1 = __nccwpck_require__(22572);
async function generateJobSummary(buildResults, cachingReport, config) {
    const errors = renderErrors();
    if (errors) {
        core.summary.addRaw(errors);
        await core.summary.write();
        return;
    }
    const summaryTable = renderSummaryTable(buildResults.results);
    const hasFailure = buildResults.anyFailed();
    if (config.shouldGenerateJobSummary(hasFailure)) {
@@ -146057,6 +146074,13 @@ function renderSummaryTable(results) {
    return `${renderDeprecations()}\n${renderBuildResults(results)}`;
}
exports.renderSummaryTable = renderSummaryTable;
function renderErrors() {
    const errors = (0, deprecation_collector_1.getErrors)();
    if (errors.length === 0) {
        return undefined;
    }
    return errors.map(error => `<b>:x: ${error}</b>`).join('\n');
}
function renderDeprecations() {
    const deprecations = (0, deprecation_collector_1.getDeprecations)();
    if (deprecations.length === 0) {
Loading