Skip to content

Fix GitHub Actions on Windows #1533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 28, 2025
Merged

Fix GitHub Actions on Windows #1533

merged 3 commits into from
Apr 28, 2025

Conversation

JackPGreen
Copy link
Contributor

@JackPGreen JackPGreen commented Apr 17, 2025

The actions fail because the java-config.env isn't parsed correctly.

Specifically, we are using the default shell (on Windows, pwsh), which doesn't work with cat - we should be specifying bash explicitly (even on Windows) as per the C++ repo:
https://github.com/hazelcast/hazelcast-cpp-client/blob/0659bebcca6f8d001ef9abb11077f7431fb39bbd/.github/actions/build-test/windows/action.yml#L53-L55

Example Windows execution showing that it succeeded in setting the Java version with this change (other test failures out of scope).

@JackPGreen JackPGreen self-assigned this Apr 17, 2025
@JackPGreen JackPGreen enabled auto-merge (squash) April 17, 2025 09:58
@JackPGreen JackPGreen disabled auto-merge April 28, 2025 09:11
@JackPGreen JackPGreen merged commit b930912 into master Apr 28, 2025
7 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants