mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
[bot] Update dist directory
This commit is contained in:
2
dist/wrapper-validation/main/index.js
vendored
2
dist/wrapper-validation/main/index.js
vendored
@@ -134383,7 +134383,7 @@ async function addDistributionSnapshotChecksumUrls(checksumUrls) {
|
||||
const indexPage = await httpGetText('https://services.gradle.org/distributions-snapshots/');
|
||||
const $ = cheerio.load(indexPage);
|
||||
const wrapperChecksumLinks = $('a[href$="-wrapper.jar.sha256"]');
|
||||
wrapperChecksumLinks.each((index, element) => {
|
||||
wrapperChecksumLinks.each((_index, element) => {
|
||||
const url = $(element).attr('href');
|
||||
const version = url.match(/\/distributions-snapshots\/gradle-(.*?)-wrapper\.jar\.sha256/)?.[1];
|
||||
if (version) {
|
||||
|
||||
Reference in New Issue
Block a user