mirror of
https://github.com/actions/setup-java.git
synced 2026-06-17 00:45:55 +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) {
|
||||
// Log the failure but always fall back to legacy AdoptOpenJDK for resilience
|
||||
const errorMessage = error instanceof Error ? error.message : String(error);
|
||||
if (error instanceof Error &&
|
||||
error.name === 'VersionNotFoundError') {
|
||||
if (error instanceof Error && error.name === 'VersionNotFoundError') {
|
||||
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.');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user