mirror of
https://github.com/icewind1991/nextcloud-version-matrix.git
synced 2026-06-03 09:34:12 +02:00
fix distro version check logging
This commit is contained in:
parent
5bc5eb41af
commit
526e105a38
2 changed files with 10 additions and 2 deletions
7
dist/index.js
vendored
7
dist/index.js
vendored
|
|
@ -42679,9 +42679,11 @@ function copy(obj) {
|
||||||
version = parseFloat(version.toFixed(1));
|
version = parseFloat(version.toFixed(1));
|
||||||
if (await isPhpVersionReleased(version)) {
|
if (await isPhpVersionReleased(version)) {
|
||||||
php.push(version.toFixed(1));
|
php.push(version.toFixed(1));
|
||||||
|
console.log(`Release for PHP Version ${version.toFixed(1)} exists`);
|
||||||
} else {
|
} else {
|
||||||
// no more minors for this major
|
// no more minors for this major
|
||||||
version = Math.ceil(version) - 0.1;
|
version = Math.ceil(version) - 0.1;
|
||||||
|
console.log(`No release for PHP Version ${version.toFixed(1)} exists -> skipping`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
php.sort();
|
php.sort();
|
||||||
|
|
@ -42692,6 +42694,10 @@ function copy(obj) {
|
||||||
if (await distroSupportsPhpVersion(version)) {
|
if (await distroSupportsPhpVersion(version)) {
|
||||||
distroPhp.push(version)
|
distroPhp.push(version)
|
||||||
availablePhp = version;
|
availablePhp = version;
|
||||||
|
|
||||||
|
console.log(`Install candidates for PHP Version ${version} found`);
|
||||||
|
} else {
|
||||||
|
console.log(`No install candidates for PHP version ${version} found -> skipping`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -42764,6 +42770,7 @@ function copy(obj) {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
core.setFailed(error.message);
|
core.setFailed(error.message);
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
|
|
|
||||||
|
|
@ -181,9 +181,9 @@ function copy(obj) {
|
||||||
distroPhp.push(version)
|
distroPhp.push(version)
|
||||||
availablePhp = version;
|
availablePhp = version;
|
||||||
|
|
||||||
console.log(`Install candidates for PHP Version ${version.toFixed(1)} found`);
|
console.log(`Install candidates for PHP Version ${version} found`);
|
||||||
} else {
|
} else {
|
||||||
console.log(`No install candidates for PHP version ${version.toFixed(1)} found -> skipping`);
|
console.log(`No install candidates for PHP version ${version} found -> skipping`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -256,6 +256,7 @@ function copy(obj) {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.error(error);
|
||||||
core.setFailed(error.message);
|
core.setFailed(error.message);
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue