Implements a workaround for using Bazelisk on Windows ARM64 GitHub runners by temporarily using the x64 architecture binary until an ARM64 version becomes available. This change addresses the issue where setup-bazel failed to function correctly on Windows ARM64 due to the absence of a compatible Bazelisk binary.
Modifies downloadBazelisk function in index.js to check the platform and architecture. If it's Windows (win32) and ARM64, it sets the architecture to amd64 to download the x64 binary as a temporary workaround.
Adds a comment in index.js explaining the temporary workaround for ARM64 on Windows and references the related Bazelisk GitHub issue for context.
Updates README.md to include a note for Windows ARM64 users, explaining the temporary use of x64 Bazelisk binary and linking to the Bazelisk issue for more details.
Related to #25
Implements a workaround for using Bazelisk on Windows ARM64 GitHub runners by temporarily using the x64 architecture binary until an ARM64 version becomes available. This change addresses the issue where setup-bazel failed to function correctly on Windows ARM64 due to the absence of a compatible Bazelisk binary.
downloadBazelisk
function inindex.js
to check the platform and architecture. If it's Windows (win32
) and ARM64, it sets the architecture toamd64
to download the x64 binary as a temporary workaround.index.js
explaining the temporary workaround for ARM64 on Windows and references the related Bazelisk GitHub issue for context.README.md
to include a note for Windows ARM64 users, explaining the temporary use of x64 Bazelisk binary and linking to the Bazelisk issue for more details.For more details, open the Copilot Workspace session.