mirror of
https://github.com/gradle/actions.git
synced 2025-08-18 23:01:27 +08:00
[bot] Update dist directory
This commit is contained in:
parent
941b289d84
commit
db19848a5f
36
dist/dependency-submission/main/index.js
vendored
36
dist/dependency-submission/main/index.js
vendored
@ -145465,7 +145465,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.generateJobSummary = void 0;
|
exports.renderSummaryTable = exports.generateJobSummary = void 0;
|
||||||
const core = __importStar(__nccwpck_require__(42186));
|
const core = __importStar(__nccwpck_require__(42186));
|
||||||
const github = __importStar(__nccwpck_require__(95438));
|
const github = __importStar(__nccwpck_require__(95438));
|
||||||
const request_error_1 = __nccwpck_require__(10537);
|
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) {
|
function renderSummaryTable(results) {
|
||||||
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
|
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
|
||||||
}
|
}
|
||||||
|
exports.renderSummaryTable = renderSummaryTable;
|
||||||
function renderDeprecations() {
|
function renderDeprecations() {
|
||||||
const deprecations = (0, deprecation_collector_1.getDeprecations)();
|
const deprecations = (0, deprecation_collector_1.getDeprecations)();
|
||||||
if (deprecations.length === 0) {
|
if (deprecations.length === 0) {
|
||||||
@ -145565,7 +145566,7 @@ function renderBuildResults(results) {
|
|||||||
<th>Requested Tasks</th>
|
<th>Requested Tasks</th>
|
||||||
<th>Gradle Version</th>
|
<th>Gradle Version</th>
|
||||||
<th>Build Outcome</th>
|
<th>Build Outcome</th>
|
||||||
<th>Build Scan®</th>
|
<th>Build Scan®</th>
|
||||||
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
|
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
|
||||||
</table>
|
</table>
|
||||||
`;
|
`;
|
||||||
@ -145585,16 +145586,35 @@ function renderOutcome(result) {
|
|||||||
}
|
}
|
||||||
function renderBuildScan(result) {
|
function renderBuildScan(result) {
|
||||||
if (result.buildScanFailed) {
|
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) {
|
if (result.buildScanUri) {
|
||||||
return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
|
return renderBuildScanBadge({
|
||||||
|
text: 'Build Scan®',
|
||||||
|
alt: 'Build Scan published',
|
||||||
|
color: '06A0CE',
|
||||||
|
logo: true,
|
||||||
|
targetUrl: result.buildScanUri
|
||||||
|
});
|
||||||
}
|
}
|
||||||
return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
|
return renderBuildScanBadge({
|
||||||
|
text: 'Not published',
|
||||||
|
alt: 'Build Scan not published',
|
||||||
|
color: 'lightgrey',
|
||||||
|
logo: false,
|
||||||
|
targetUrl: 'https://scans.gradle.com'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
|
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
|
||||||
const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
|
const encodedText = encodeURIComponent(text);
|
||||||
const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
|
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>`;
|
return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
|
||||||
}
|
}
|
||||||
function truncateString(str, maxLength) {
|
function truncateString(str, maxLength) {
|
||||||
|
2
dist/dependency-submission/main/index.js.map
vendored
2
dist/dependency-submission/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
36
dist/dependency-submission/post/index.js
vendored
36
dist/dependency-submission/post/index.js
vendored
@ -96313,7 +96313,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.generateJobSummary = void 0;
|
exports.renderSummaryTable = exports.generateJobSummary = void 0;
|
||||||
const core = __importStar(__nccwpck_require__(2186));
|
const core = __importStar(__nccwpck_require__(2186));
|
||||||
const github = __importStar(__nccwpck_require__(5438));
|
const github = __importStar(__nccwpck_require__(5438));
|
||||||
const request_error_1 = __nccwpck_require__(537);
|
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) {
|
function renderSummaryTable(results) {
|
||||||
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
|
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
|
||||||
}
|
}
|
||||||
|
exports.renderSummaryTable = renderSummaryTable;
|
||||||
function renderDeprecations() {
|
function renderDeprecations() {
|
||||||
const deprecations = (0, deprecation_collector_1.getDeprecations)();
|
const deprecations = (0, deprecation_collector_1.getDeprecations)();
|
||||||
if (deprecations.length === 0) {
|
if (deprecations.length === 0) {
|
||||||
@ -96413,7 +96414,7 @@ function renderBuildResults(results) {
|
|||||||
<th>Requested Tasks</th>
|
<th>Requested Tasks</th>
|
||||||
<th>Gradle Version</th>
|
<th>Gradle Version</th>
|
||||||
<th>Build Outcome</th>
|
<th>Build Outcome</th>
|
||||||
<th>Build Scan®</th>
|
<th>Build Scan®</th>
|
||||||
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
|
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
|
||||||
</table>
|
</table>
|
||||||
`;
|
`;
|
||||||
@ -96433,16 +96434,35 @@ function renderOutcome(result) {
|
|||||||
}
|
}
|
||||||
function renderBuildScan(result) {
|
function renderBuildScan(result) {
|
||||||
if (result.buildScanFailed) {
|
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) {
|
if (result.buildScanUri) {
|
||||||
return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
|
return renderBuildScanBadge({
|
||||||
|
text: 'Build Scan®',
|
||||||
|
alt: 'Build Scan published',
|
||||||
|
color: '06A0CE',
|
||||||
|
logo: true,
|
||||||
|
targetUrl: result.buildScanUri
|
||||||
|
});
|
||||||
}
|
}
|
||||||
return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
|
return renderBuildScanBadge({
|
||||||
|
text: 'Not published',
|
||||||
|
alt: 'Build Scan not published',
|
||||||
|
color: 'lightgrey',
|
||||||
|
logo: false,
|
||||||
|
targetUrl: 'https://scans.gradle.com'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
|
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
|
||||||
const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
|
const encodedText = encodeURIComponent(text);
|
||||||
const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
|
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>`;
|
return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
|
||||||
}
|
}
|
||||||
function truncateString(str, maxLength) {
|
function truncateString(str, maxLength) {
|
||||||
|
2
dist/dependency-submission/post/index.js.map
vendored
2
dist/dependency-submission/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
36
dist/setup-gradle/main/index.js
vendored
36
dist/setup-gradle/main/index.js
vendored
@ -145393,7 +145393,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.generateJobSummary = void 0;
|
exports.renderSummaryTable = exports.generateJobSummary = void 0;
|
||||||
const core = __importStar(__nccwpck_require__(42186));
|
const core = __importStar(__nccwpck_require__(42186));
|
||||||
const github = __importStar(__nccwpck_require__(95438));
|
const github = __importStar(__nccwpck_require__(95438));
|
||||||
const request_error_1 = __nccwpck_require__(10537);
|
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) {
|
function renderSummaryTable(results) {
|
||||||
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
|
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
|
||||||
}
|
}
|
||||||
|
exports.renderSummaryTable = renderSummaryTable;
|
||||||
function renderDeprecations() {
|
function renderDeprecations() {
|
||||||
const deprecations = (0, deprecation_collector_1.getDeprecations)();
|
const deprecations = (0, deprecation_collector_1.getDeprecations)();
|
||||||
if (deprecations.length === 0) {
|
if (deprecations.length === 0) {
|
||||||
@ -145493,7 +145494,7 @@ function renderBuildResults(results) {
|
|||||||
<th>Requested Tasks</th>
|
<th>Requested Tasks</th>
|
||||||
<th>Gradle Version</th>
|
<th>Gradle Version</th>
|
||||||
<th>Build Outcome</th>
|
<th>Build Outcome</th>
|
||||||
<th>Build Scan®</th>
|
<th>Build Scan®</th>
|
||||||
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
|
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
|
||||||
</table>
|
</table>
|
||||||
`;
|
`;
|
||||||
@ -145513,16 +145514,35 @@ function renderOutcome(result) {
|
|||||||
}
|
}
|
||||||
function renderBuildScan(result) {
|
function renderBuildScan(result) {
|
||||||
if (result.buildScanFailed) {
|
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) {
|
if (result.buildScanUri) {
|
||||||
return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
|
return renderBuildScanBadge({
|
||||||
|
text: 'Build Scan®',
|
||||||
|
alt: 'Build Scan published',
|
||||||
|
color: '06A0CE',
|
||||||
|
logo: true,
|
||||||
|
targetUrl: result.buildScanUri
|
||||||
|
});
|
||||||
}
|
}
|
||||||
return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
|
return renderBuildScanBadge({
|
||||||
|
text: 'Not published',
|
||||||
|
alt: 'Build Scan not published',
|
||||||
|
color: 'lightgrey',
|
||||||
|
logo: false,
|
||||||
|
targetUrl: 'https://scans.gradle.com'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
|
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
|
||||||
const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
|
const encodedText = encodeURIComponent(text);
|
||||||
const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
|
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>`;
|
return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
|
||||||
}
|
}
|
||||||
function truncateString(str, maxLength) {
|
function truncateString(str, maxLength) {
|
||||||
|
2
dist/setup-gradle/main/index.js.map
vendored
2
dist/setup-gradle/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
36
dist/setup-gradle/post/index.js
vendored
36
dist/setup-gradle/post/index.js
vendored
@ -142537,7 +142537,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.generateJobSummary = void 0;
|
exports.renderSummaryTable = exports.generateJobSummary = void 0;
|
||||||
const core = __importStar(__nccwpck_require__(42186));
|
const core = __importStar(__nccwpck_require__(42186));
|
||||||
const github = __importStar(__nccwpck_require__(95438));
|
const github = __importStar(__nccwpck_require__(95438));
|
||||||
const request_error_1 = __nccwpck_require__(10537);
|
const request_error_1 = __nccwpck_require__(10537);
|
||||||
@ -142609,6 +142609,7 @@ Note that this permission is never available for a workflow triggered from a rep
|
|||||||
function renderSummaryTable(results) {
|
function renderSummaryTable(results) {
|
||||||
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
|
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
|
||||||
}
|
}
|
||||||
|
exports.renderSummaryTable = renderSummaryTable;
|
||||||
function renderDeprecations() {
|
function renderDeprecations() {
|
||||||
const deprecations = (0, deprecation_collector_1.getDeprecations)();
|
const deprecations = (0, deprecation_collector_1.getDeprecations)();
|
||||||
if (deprecations.length === 0) {
|
if (deprecations.length === 0) {
|
||||||
@ -142637,7 +142638,7 @@ function renderBuildResults(results) {
|
|||||||
<th>Requested Tasks</th>
|
<th>Requested Tasks</th>
|
||||||
<th>Gradle Version</th>
|
<th>Gradle Version</th>
|
||||||
<th>Build Outcome</th>
|
<th>Build Outcome</th>
|
||||||
<th>Build Scan®</th>
|
<th>Build Scan®</th>
|
||||||
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
|
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
|
||||||
</table>
|
</table>
|
||||||
`;
|
`;
|
||||||
@ -142657,16 +142658,35 @@ function renderOutcome(result) {
|
|||||||
}
|
}
|
||||||
function renderBuildScan(result) {
|
function renderBuildScan(result) {
|
||||||
if (result.buildScanFailed) {
|
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) {
|
if (result.buildScanUri) {
|
||||||
return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
|
return renderBuildScanBadge({
|
||||||
|
text: 'Build Scan®',
|
||||||
|
alt: 'Build Scan published',
|
||||||
|
color: '06A0CE',
|
||||||
|
logo: true,
|
||||||
|
targetUrl: result.buildScanUri
|
||||||
|
});
|
||||||
}
|
}
|
||||||
return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
|
return renderBuildScanBadge({
|
||||||
|
text: 'Not published',
|
||||||
|
alt: 'Build Scan not published',
|
||||||
|
color: 'lightgrey',
|
||||||
|
logo: false,
|
||||||
|
targetUrl: 'https://scans.gradle.com'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
|
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
|
||||||
const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
|
const encodedText = encodeURIComponent(text);
|
||||||
const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
|
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>`;
|
return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
|
||||||
}
|
}
|
||||||
function truncateString(str, maxLength) {
|
function truncateString(str, maxLength) {
|
||||||
|
2
dist/setup-gradle/post/index.js.map
vendored
2
dist/setup-gradle/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user