mirror of
https://github.com/actions/setup-java.git
synced 2026-06-22 11:57:44 +00:00
Regenerate dist
This commit is contained in:
parent
4826c07bc1
commit
041d924d8b
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
@ -77848,8 +77848,7 @@ class AdoptDistribution extends base_installer_1.JavaBase {
|
|||||||
catch (error) {
|
catch (error) {
|
||||||
// Log the failure but always fall back to legacy AdoptOpenJDK for resilience
|
// Log the failure but always fall back to legacy AdoptOpenJDK for resilience
|
||||||
const errorMessage = error instanceof Error ? error.message : String(error);
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
||||||
if (error instanceof Error &&
|
if (error instanceof Error && error.name === 'VersionNotFoundError') {
|
||||||
error.name === 'VersionNotFoundError') {
|
|
||||||
core.notice('The JVM you are looking for could not be found in the Temurin repository, this likely indicates ' +
|
core.notice('The JVM you are looking for could not be found in the Temurin repository, this likely indicates ' +
|
||||||
'that you are using an out of date version of Java, consider updating and moving to using the Temurin distribution type in setup-java.');
|
'that you are using an out of date version of Java, consider updating and moving to using the Temurin distribution type in setup-java.');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user