Skip to content

Action fails on win-11-arm #203

Description

@hohwille

Thanks for making this reusable GHA that I am using in my OSS project IDEasy! 👍

I recently added a build for win-11-arm image on GitHub in my project.
This fails with the following error:

Run graalvm/setup-graalvm@v1
Error: Failed to download graalvm-community-jdk-25.0.1_windows-aarch64_bin.zip. Are you sure java-version: '25.0.1' is correct?

See https://github.com/devonfw/IDEasy/actions/runs/20812437104/job/59779708855

Surely there would be no error if GraalVM would provide support for Windows@ARM64 but this is currently not the case:
oracle/graal#9215

Would it make sense to fallback to x86_64 if the ARM64 download fails (at least for windows)?

const toolName = determineToolName(javaVersion, javaPackage)
return downloadExtractAndCacheJDK(async () => downloadFile(downloadUrl), toolName, javaVersion)

return `${c.JDK_PLATFORM}-${c.GRAALVM_ARCH}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions