Commit db19848a authored by bigdaz's avatar bigdaz Committed by github-actions[bot]
Browse files

[bot] Update dist directory

parent 941b289d
Loading
Loading
Loading
Loading
+30 −10
Changes for dist/dependency-submission/main/index.js: 30 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -145465,7 +145465,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
    return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.generateJobSummary = void 0;
exports.renderSummaryTable = exports.generateJobSummary = void 0;
const core = __importStar(__nccwpck_require__(42186));
const github = __importStar(__nccwpck_require__(95438));
const request_error_1 = __nccwpck_require__(10537);
@@ -145537,6 +145537,7 @@ Note that this permission is never available for a workflow triggered from a rep
function renderSummaryTable(results) {
    return `${renderDeprecations()}\n${renderBuildResults(results)}`;
}
exports.renderSummaryTable = renderSummaryTable;
function renderDeprecations() {
    const deprecations = (0, deprecation_collector_1.getDeprecations)();
    if (deprecations.length === 0) {
@@ -145565,7 +145566,7 @@ function renderBuildResults(results) {
        <th>Requested Tasks</th>
        <th>Gradle Version</th>
        <th>Build Outcome</th>
        <th>Build Scan®</th>
        <th>Build&nbsp;Scan®</th>
    </tr>${results.map(result => renderBuildResultRow(result)).join('')}
</table>
    `;
@@ -145585,16 +145586,35 @@ function renderOutcome(result) {
}
function renderBuildScan(result) {
    if (result.buildScanFailed) {
        return renderBuildScanBadge('PUBLISH_FAILED', 'orange', 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting');
        return renderBuildScanBadge({
            text: 'Publish failed',
            alt: 'Build Scan publish failed',
            color: 'orange',
            logo: false,
            targetUrl: 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting'
        });
    }
    if (result.buildScanUri) {
        return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
    }
    return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
}
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
    const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
    const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
        return renderBuildScanBadge({
            text: 'Build Scan®',
            alt: 'Build Scan published',
            color: '06A0CE',
            logo: true,
            targetUrl: result.buildScanUri
        });
    }
    return renderBuildScanBadge({
        text: 'Not published',
        alt: 'Build Scan not published',
        color: 'lightgrey',
        logo: false,
        targetUrl: 'https://scans.gradle.com'
    });
}
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
    const encodedText = encodeURIComponent(text);
    const badgeUrl = `https://img.shields.io/badge/${encodedText}-${color}${logo ? '?logo=Gradle' : ''}`;
    const badgeHtml = `<img src="${badgeUrl}" alt="${alt}" />`;
    return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
}
function truncateString(str, maxLength) {
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+30 −10
Changes for dist/dependency-submission/post/index.js: 30 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -96313,7 +96313,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
    return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.generateJobSummary = void 0;
exports.renderSummaryTable = exports.generateJobSummary = void 0;
const core = __importStar(__nccwpck_require__(2186));
const github = __importStar(__nccwpck_require__(5438));
const request_error_1 = __nccwpck_require__(537);
@@ -96385,6 +96385,7 @@ Note that this permission is never available for a workflow triggered from a rep
function renderSummaryTable(results) {
    return `${renderDeprecations()}\n${renderBuildResults(results)}`;
}
exports.renderSummaryTable = renderSummaryTable;
function renderDeprecations() {
    const deprecations = (0, deprecation_collector_1.getDeprecations)();
    if (deprecations.length === 0) {
@@ -96413,7 +96414,7 @@ function renderBuildResults(results) {
        <th>Requested Tasks</th>
        <th>Gradle Version</th>
        <th>Build Outcome</th>
        <th>Build Scan®</th>
        <th>Build&nbsp;Scan®</th>
    </tr>${results.map(result => renderBuildResultRow(result)).join('')}
</table>
    `;
@@ -96433,16 +96434,35 @@ function renderOutcome(result) {
}
function renderBuildScan(result) {
    if (result.buildScanFailed) {
        return renderBuildScanBadge('PUBLISH_FAILED', 'orange', 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting');
        return renderBuildScanBadge({
            text: 'Publish failed',
            alt: 'Build Scan publish failed',
            color: 'orange',
            logo: false,
            targetUrl: 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting'
        });
    }
    if (result.buildScanUri) {
        return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
    }
    return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
}
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
    const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
    const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
        return renderBuildScanBadge({
            text: 'Build Scan®',
            alt: 'Build Scan published',
            color: '06A0CE',
            logo: true,
            targetUrl: result.buildScanUri
        });
    }
    return renderBuildScanBadge({
        text: 'Not published',
        alt: 'Build Scan not published',
        color: 'lightgrey',
        logo: false,
        targetUrl: 'https://scans.gradle.com'
    });
}
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
    const encodedText = encodeURIComponent(text);
    const badgeUrl = `https://img.shields.io/badge/${encodedText}-${color}${logo ? '?logo=Gradle' : ''}`;
    const badgeHtml = `<img src="${badgeUrl}" alt="${alt}" />`;
    return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
}
function truncateString(str, maxLength) {
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+30 −10
Changes for dist/setup-gradle/main/index.js: 30 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -145393,7 +145393,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
    return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.generateJobSummary = void 0;
exports.renderSummaryTable = exports.generateJobSummary = void 0;
const core = __importStar(__nccwpck_require__(42186));
const github = __importStar(__nccwpck_require__(95438));
const request_error_1 = __nccwpck_require__(10537);
@@ -145465,6 +145465,7 @@ Note that this permission is never available for a workflow triggered from a rep
function renderSummaryTable(results) {
    return `${renderDeprecations()}\n${renderBuildResults(results)}`;
}
exports.renderSummaryTable = renderSummaryTable;
function renderDeprecations() {
    const deprecations = (0, deprecation_collector_1.getDeprecations)();
    if (deprecations.length === 0) {
@@ -145493,7 +145494,7 @@ function renderBuildResults(results) {
        <th>Requested Tasks</th>
        <th>Gradle Version</th>
        <th>Build Outcome</th>
        <th>Build Scan®</th>
        <th>Build&nbsp;Scan®</th>
    </tr>${results.map(result => renderBuildResultRow(result)).join('')}
</table>
    `;
@@ -145513,16 +145514,35 @@ function renderOutcome(result) {
}
function renderBuildScan(result) {
    if (result.buildScanFailed) {
        return renderBuildScanBadge('PUBLISH_FAILED', 'orange', 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting');
        return renderBuildScanBadge({
            text: 'Publish failed',
            alt: 'Build Scan publish failed',
            color: 'orange',
            logo: false,
            targetUrl: 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting'
        });
    }
    if (result.buildScanUri) {
        return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
    }
    return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
}
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
    const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
    const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
        return renderBuildScanBadge({
            text: 'Build Scan®',
            alt: 'Build Scan published',
            color: '06A0CE',
            logo: true,
            targetUrl: result.buildScanUri
        });
    }
    return renderBuildScanBadge({
        text: 'Not published',
        alt: 'Build Scan not published',
        color: 'lightgrey',
        logo: false,
        targetUrl: 'https://scans.gradle.com'
    });
}
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
    const encodedText = encodeURIComponent(text);
    const badgeUrl = `https://img.shields.io/badge/${encodedText}-${color}${logo ? '?logo=Gradle' : ''}`;
    const badgeHtml = `<img src="${badgeUrl}" alt="${alt}" />`;
    return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
}
function truncateString(str, maxLength) {
Loading