@RadekCap I have found one other issue (in console of adoptium run higher):
17:50:28 +++ [[ '' -eq 2012 ]]
Variable OTOOL_OS_VERSION is undocumented. Seems like there is some special handling of Windows version 2012. Based on Adoptium test machine name, this version happens to be used for testing. Testing in GH uses more recent version.
Edit:
But it could be some leftover code which is not really necessary anymore.
@RadekCap I have found one other issue (in console of adoptium run higher):
17:50:28 +++ [[ '' -eq 2012 ]]
Variable OTOOL_OS_VERSION is undocumented. Seems like there is some special handling of Windows version 2012. Based on Adoptium test machine name, this version happens to be used for testing. Testing in GH uses more recent version.
Edit: But it could be some leftover code which is not really necessary anymore.
Originally posted by @zzambers in https://github.com/adoptium/installer/issues/559#issuecomment-1456719928