mirror of
https://github.com/actions/setup-java.git
synced 2026-08-07 22:49:28 +08:00
Fix SapMachine early-access filtering (#1217)
* Fix SapMachine early-access filtering Ensure SapMachine EA requests exclude stable releases and cover string and boolean release metadata with competing fixture candidates.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Update distribution bundle Regenerate the setup bundle for SapMachine release-class filtering.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Format SapMachine regression tests Apply the repository Prettier format to the focused test additions.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Bruno Borges <brborges@microsoft.com>
This commit is contained in:
Vendored
+2
-2
@@ -110,8 +110,8 @@ class SapMachineDistribution extends _base_installer_js__WEBPACK_IMPORTED_MODULE
|
||||
_actions_core__WEBPACK_IMPORTED_MODULE_0__/* .debug */ .Yz(`Invalid version: ${buildVersionWithoutPrefix}`);
|
||||
continue;
|
||||
}
|
||||
// skip earlyAccessVersions if stable version requested
|
||||
if (this.stable && buildVersionMap.ea === 'true') {
|
||||
const isEarlyAccess = buildVersionMap.ea === true || buildVersionMap.ea === 'true';
|
||||
if (this.stable === isEarlyAccess) {
|
||||
continue;
|
||||
}
|
||||
for (const [edition, editionAssets] of Object.entries(buildVersionMap.assets)) {
|
||||
|
||||
Reference in New Issue
Block a user