-
Notifications
You must be signed in to change notification settings - Fork 831
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I'm trying to install an x86 JDK in a GitHub action, and I found out that the specified architecture is ignored in this script. By looking at the code, I saw that arch is not used when the script is determining which archive to download. See
Lines 194 to 203 in 5c87b70
| let extension = ''; | |
| if (IS_WINDOWS) { | |
| extension = `-win_x64.zip`; | |
| } else { | |
| if (process.platform === 'darwin') { | |
| extension = `-macosx_x64.tar.gz`; | |
| } else { | |
| extension = `-linux_x64.tar.gz`; | |
| } | |
| } |
-win_x64, while it should actually download the archive ending with -win_i686.zip when the architecture is x86. The issue also seems to be present for other OSes (although I never tried them)
Be aware that Zulu doesn't seem to provide x86 Windows binaries for all Java versions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working