Skip to content

Commit db19848

Browse files
bigdazgithub-actions[bot]
authored andcommitted
[bot] Update dist directory
1 parent 941b289 commit db19848

File tree

8 files changed

+116
-36
lines changed

8 files changed

+116
-36
lines changed

dist/dependency-submission/main/index.js

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145465,7 +145465,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
145465145465
return result;
145466145466
};
145467145467
Object.defineProperty(exports, "__esModule", ({ value: true }));
145468-
exports.generateJobSummary = void 0;
145468+
exports.renderSummaryTable = exports.generateJobSummary = void 0;
145469145469
const core = __importStar(__nccwpck_require__(42186));
145470145470
const github = __importStar(__nccwpck_require__(95438));
145471145471
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
145537145537
function renderSummaryTable(results) {
145538145538
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
145539145539
}
145540+
exports.renderSummaryTable = renderSummaryTable;
145540145541
function renderDeprecations() {
145541145542
const deprecations = (0, deprecation_collector_1.getDeprecations)();
145542145543
if (deprecations.length === 0) {
@@ -145565,7 +145566,7 @@ function renderBuildResults(results) {
145565145566
<th>Requested Tasks</th>
145566145567
<th>Gradle Version</th>
145567145568
<th>Build Outcome</th>
145568-
<th>Build Scan®</th>
145569+
<th>Build&nbsp;Scan®</th>
145569145570
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
145570145571
</table>
145571145572
`;
@@ -145585,16 +145586,35 @@ function renderOutcome(result) {
145585145586
}
145586145587
function renderBuildScan(result) {
145587145588
if (result.buildScanFailed) {
145588-
return renderBuildScanBadge('PUBLISH_FAILED', 'orange', 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting');
145589+
return renderBuildScanBadge({
145590+
text: 'Publish failed',
145591+
alt: 'Build Scan publish failed',
145592+
color: 'orange',
145593+
logo: false,
145594+
targetUrl: 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting'
145595+
});
145589145596
}
145590145597
if (result.buildScanUri) {
145591-
return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
145598+
return renderBuildScanBadge({
145599+
text: 'Build Scan®',
145600+
alt: 'Build Scan published',
145601+
color: '06A0CE',
145602+
logo: true,
145603+
targetUrl: result.buildScanUri
145604+
});
145592145605
}
145593-
return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
145606+
return renderBuildScanBadge({
145607+
text: 'Not published',
145608+
alt: 'Build Scan not published',
145609+
color: 'lightgrey',
145610+
logo: false,
145611+
targetUrl: 'https://scans.gradle.com'
145612+
});
145594145613
}
145595-
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
145596-
const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
145597-
const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
145614+
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
145615+
const encodedText = encodeURIComponent(text);
145616+
const badgeUrl = `https://img.shields.io/badge/${encodedText}-${color}${logo ? '?logo=Gradle' : ''}`;
145617+
const badgeHtml = `<img src="${badgeUrl}" alt="${alt}" />`;
145598145618
return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
145599145619
}
145600145620
function truncateString(str, maxLength) {

dist/dependency-submission/main/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dependency-submission/post/index.js

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96313,7 +96313,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
9631396313
return result;
9631496314
};
9631596315
Object.defineProperty(exports, "__esModule", ({ value: true }));
96316-
exports.generateJobSummary = void 0;
96316+
exports.renderSummaryTable = exports.generateJobSummary = void 0;
9631796317
const core = __importStar(__nccwpck_require__(2186));
9631896318
const github = __importStar(__nccwpck_require__(5438));
9631996319
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
9638596385
function renderSummaryTable(results) {
9638696386
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
9638796387
}
96388+
exports.renderSummaryTable = renderSummaryTable;
9638896389
function renderDeprecations() {
9638996390
const deprecations = (0, deprecation_collector_1.getDeprecations)();
9639096391
if (deprecations.length === 0) {
@@ -96413,7 +96414,7 @@ function renderBuildResults(results) {
9641396414
<th>Requested Tasks</th>
9641496415
<th>Gradle Version</th>
9641596416
<th>Build Outcome</th>
96416-
<th>Build Scan®</th>
96417+
<th>Build&nbsp;Scan®</th>
9641796418
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
9641896419
</table>
9641996420
`;
@@ -96433,16 +96434,35 @@ function renderOutcome(result) {
9643396434
}
9643496435
function renderBuildScan(result) {
9643596436
if (result.buildScanFailed) {
96436-
return renderBuildScanBadge('PUBLISH_FAILED', 'orange', 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting');
96437+
return renderBuildScanBadge({
96438+
text: 'Publish failed',
96439+
alt: 'Build Scan publish failed',
96440+
color: 'orange',
96441+
logo: false,
96442+
targetUrl: 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting'
96443+
});
9643796444
}
9643896445
if (result.buildScanUri) {
96439-
return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
96446+
return renderBuildScanBadge({
96447+
text: 'Build Scan®',
96448+
alt: 'Build Scan published',
96449+
color: '06A0CE',
96450+
logo: true,
96451+
targetUrl: result.buildScanUri
96452+
});
9644096453
}
96441-
return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
96454+
return renderBuildScanBadge({
96455+
text: 'Not published',
96456+
alt: 'Build Scan not published',
96457+
color: 'lightgrey',
96458+
logo: false,
96459+
targetUrl: 'https://scans.gradle.com'
96460+
});
9644296461
}
96443-
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
96444-
const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
96445-
const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
96462+
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
96463+
const encodedText = encodeURIComponent(text);
96464+
const badgeUrl = `https://img.shields.io/badge/${encodedText}-${color}${logo ? '?logo=Gradle' : ''}`;
96465+
const badgeHtml = `<img src="${badgeUrl}" alt="${alt}" />`;
9644696466
return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
9644796467
}
9644896468
function truncateString(str, maxLength) {

dist/dependency-submission/post/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup-gradle/main/index.js

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145393,7 +145393,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
145393145393
return result;
145394145394
};
145395145395
Object.defineProperty(exports, "__esModule", ({ value: true }));
145396-
exports.generateJobSummary = void 0;
145396+
exports.renderSummaryTable = exports.generateJobSummary = void 0;
145397145397
const core = __importStar(__nccwpck_require__(42186));
145398145398
const github = __importStar(__nccwpck_require__(95438));
145399145399
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
145465145465
function renderSummaryTable(results) {
145466145466
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
145467145467
}
145468+
exports.renderSummaryTable = renderSummaryTable;
145468145469
function renderDeprecations() {
145469145470
const deprecations = (0, deprecation_collector_1.getDeprecations)();
145470145471
if (deprecations.length === 0) {
@@ -145493,7 +145494,7 @@ function renderBuildResults(results) {
145493145494
<th>Requested Tasks</th>
145494145495
<th>Gradle Version</th>
145495145496
<th>Build Outcome</th>
145496-
<th>Build Scan®</th>
145497+
<th>Build&nbsp;Scan®</th>
145497145498
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
145498145499
</table>
145499145500
`;
@@ -145513,16 +145514,35 @@ function renderOutcome(result) {
145513145514
}
145514145515
function renderBuildScan(result) {
145515145516
if (result.buildScanFailed) {
145516-
return renderBuildScanBadge('PUBLISH_FAILED', 'orange', 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting');
145517+
return renderBuildScanBadge({
145518+
text: 'Publish failed',
145519+
alt: 'Build Scan publish failed',
145520+
color: 'orange',
145521+
logo: false,
145522+
targetUrl: 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting'
145523+
});
145517145524
}
145518145525
if (result.buildScanUri) {
145519-
return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
145526+
return renderBuildScanBadge({
145527+
text: 'Build Scan®',
145528+
alt: 'Build Scan published',
145529+
color: '06A0CE',
145530+
logo: true,
145531+
targetUrl: result.buildScanUri
145532+
});
145520145533
}
145521-
return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
145534+
return renderBuildScanBadge({
145535+
text: 'Not published',
145536+
alt: 'Build Scan not published',
145537+
color: 'lightgrey',
145538+
logo: false,
145539+
targetUrl: 'https://scans.gradle.com'
145540+
});
145522145541
}
145523-
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
145524-
const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
145525-
const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
145542+
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
145543+
const encodedText = encodeURIComponent(text);
145544+
const badgeUrl = `https://img.shields.io/badge/${encodedText}-${color}${logo ? '?logo=Gradle' : ''}`;
145545+
const badgeHtml = `<img src="${badgeUrl}" alt="${alt}" />`;
145526145546
return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
145527145547
}
145528145548
function truncateString(str, maxLength) {

dist/setup-gradle/main/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup-gradle/post/index.js

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142537,7 +142537,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
142537142537
return result;
142538142538
};
142539142539
Object.defineProperty(exports, "__esModule", ({ value: true }));
142540-
exports.generateJobSummary = void 0;
142540+
exports.renderSummaryTable = exports.generateJobSummary = void 0;
142541142541
const core = __importStar(__nccwpck_require__(42186));
142542142542
const github = __importStar(__nccwpck_require__(95438));
142543142543
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
142609142609
function renderSummaryTable(results) {
142610142610
return `${renderDeprecations()}\n${renderBuildResults(results)}`;
142611142611
}
142612+
exports.renderSummaryTable = renderSummaryTable;
142612142613
function renderDeprecations() {
142613142614
const deprecations = (0, deprecation_collector_1.getDeprecations)();
142614142615
if (deprecations.length === 0) {
@@ -142637,7 +142638,7 @@ function renderBuildResults(results) {
142637142638
<th>Requested Tasks</th>
142638142639
<th>Gradle Version</th>
142639142640
<th>Build Outcome</th>
142640-
<th>Build Scan®</th>
142641+
<th>Build&nbsp;Scan®</th>
142641142642
</tr>${results.map(result => renderBuildResultRow(result)).join('')}
142642142643
</table>
142643142644
`;
@@ -142657,16 +142658,35 @@ function renderOutcome(result) {
142657142658
}
142658142659
function renderBuildScan(result) {
142659142660
if (result.buildScanFailed) {
142660-
return renderBuildScanBadge('PUBLISH_FAILED', 'orange', 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting');
142661+
return renderBuildScanBadge({
142662+
text: 'Publish failed',
142663+
alt: 'Build Scan publish failed',
142664+
color: 'orange',
142665+
logo: false,
142666+
targetUrl: 'https://docs.gradle.com/develocity/gradle-plugin/#troubleshooting'
142667+
});
142661142668
}
142662142669
if (result.buildScanUri) {
142663-
return renderBuildScanBadge('PUBLISHED', '06A0CE', result.buildScanUri);
142670+
return renderBuildScanBadge({
142671+
text: 'Build Scan®',
142672+
alt: 'Build Scan published',
142673+
color: '06A0CE',
142674+
logo: true,
142675+
targetUrl: result.buildScanUri
142676+
});
142664142677
}
142665-
return renderBuildScanBadge('NOT_PUBLISHED', 'lightgrey', 'https://scans.gradle.com');
142678+
return renderBuildScanBadge({
142679+
text: 'Not published',
142680+
alt: 'Build Scan not published',
142681+
color: 'lightgrey',
142682+
logo: false,
142683+
targetUrl: 'https://scans.gradle.com'
142684+
});
142666142685
}
142667-
function renderBuildScanBadge(outcomeText, outcomeColor, targetUrl) {
142668-
const badgeUrl = `https://img.shields.io/badge/Build%20Scan%C2%AE-${outcomeText}-${outcomeColor}?logo=Gradle`;
142669-
const badgeHtml = `<img src="${badgeUrl}" alt="Build Scan ${outcomeText}" />`;
142686+
function renderBuildScanBadge({ text, alt, color, logo, targetUrl }) {
142687+
const encodedText = encodeURIComponent(text);
142688+
const badgeUrl = `https://img.shields.io/badge/${encodedText}-${color}${logo ? '?logo=Gradle' : ''}`;
142689+
const badgeHtml = `<img src="${badgeUrl}" alt="${alt}" />`;
142670142690
return `<a href="${targetUrl}" rel="nofollow" target="_blank">${badgeHtml}</a>`;
142671142691
}
142672142692
function truncateString(str, maxLength) {

dist/setup-gradle/post/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)