Commit b930912
authored
Fix GitHub Actions on Windows (#1533)
The [actions
fail](https://github.com/hazelcast/hazelcast-nodejs-client/actions/runs/14506740078/job/40704373693)
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](https://github.com/hazelcast/hazelcast-nodejs-client/actions/runs/14509405447/job/40704693730)
(other test failures out of scope).1 parent b55e48f commit b930912
File tree
3 files changed
+3
-0
lines changed- .github/workflows
3 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments