setup-java/src
Sean Proctor baa1691374
fix: reject non-semver candidate versions in isVersionSatisfies (#1009)
Distributions like JetBrains Runtime publish 4-segment versions such as
'17.0.8.1+1080.1' that the semver package rejects. Both compareBuild and
satisfies throw on these, which surfaced to users as "Error: Invalid
Version: 17.0.8.1+1080.1" and aborted the whole install when any
available version was non-semver. Guard with an early semver.valid check
so unparseable versions are treated as a non-match.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-17 22:47:02 -05:00
..
distributions Make the Adoptopenjdk package type look at the Temurin repo first for latest assets (#522) 2026-06-12 16:30:59 +01:00
auth.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
cache.ts fix: add arch to cache key (#664) 2024-09-19 08:51:30 -05:00
cleanup-java.ts Upgrade Node to v20 (#558) 2023-11-29 15:11:46 +01:00
constants.ts feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
gpg.ts Add and configure ESLint and update configuration for Prettier (#458) 2023-03-09 14:49:35 +02:00
setup-java.ts Added .tool-versions file support (#606) 2024-03-12 08:45:42 -05:00
toolchains.ts Bump prettier from 2.8.8 to 3.6.2 (#873) 2025-09-09 10:02:46 -05:00
util.ts fix: reject non-semver candidate versions in isVersionSatisfies (#1009) 2026-06-17 22:47:02 -05:00