Skip to content

Commit abc0536

Browse files
authored
Use consistent property for Hazelcast version specification (#1275)
When building, we specify the Hazelcast (platform) version via `config.env`: https://github.com/hazelcast/hazelcast-cpp-client/blob/a48374e064e87febb3feb274a53170175b80bfdd/.github/config.env#L4 Specifically, in a `HAZELCAST_VERSION` property. In `start-rc` we do something similar, with a default value if not provided for local execution: https://github.com/hazelcast/hazelcast-cpp-client/blob/a48374e064e87febb3feb274a53170175b80bfdd/scripts/start-rc.sh#L37 Note the property there is `HZ_VERSION`. This means if you try to specify a _different_ Hazelcast version by changing the config, the `start-rc` script fails as it can't find the `hazelcast-enterprise-???-tests.jar` file. Updated to rename the `HAZELCAST_VERSION` property as it [was introduced more recently](#1231).
1 parent a48374e commit abc0536

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/actions/build-test/unix/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ runs:
3737
- name: Download hazelcast-enterprise-tests.jar
3838
shell: ${{ env.shell }}
3939
run: |
40-
gh api "/repos/hazelcast/private-test-artifacts/contents/certs.jar?ref=data" -H "Accept: application/vnd.github.raw" > hazelcast-enterprise-${{ env.HAZELCAST_VERSION }}-tests.jar
40+
gh api "/repos/hazelcast/private-test-artifacts/contents/certs.jar?ref=data" -H "Accept: application/vnd.github.raw" > hazelcast-enterprise-${{ env.HZ_VERSION }}-tests.jar
4141
env:
4242
GH_TOKEN: ${{ inputs.GH_TOKEN }}
4343

.github/actions/build-test/windows/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
5757
- name: Download hazelcast-enterprise-tests.jar
5858
shell: ${{ env.shell }}
5959
run: |
60-
gh api "/repos/hazelcast/private-test-artifacts/contents/certs.jar?ref=data" -H "Accept: application/vnd.github.raw" > hazelcast-enterprise-${{ env.HAZELCAST_VERSION }}-tests.jar
60+
gh api "/repos/hazelcast/private-test-artifacts/contents/certs.jar?ref=data" -H "Accept: application/vnd.github.raw" > hazelcast-enterprise-${{ env.HZ_VERSION }}-tests.jar
6161
env:
6262
GH_TOKEN: ${{ inputs.GH_TOKEN }}
6363

.github/actions/coverage-report/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
- name: Download hazelcast-enterprise-tests.jar
4040
shell: ${{ env.shell }}
4141
run: |
42-
gh api "/repos/hazelcast/private-test-artifacts/contents/certs.jar?ref=data" -H "Accept: application/vnd.github.raw" > hazelcast-enterprise-${{ env.HAZELCAST_VERSION }}-tests.jar
42+
gh api "/repos/hazelcast/private-test-artifacts/contents/certs.jar?ref=data" -H "Accept: application/vnd.github.raw" > hazelcast-enterprise-${{ env.HZ_VERSION }}-tests.jar
4343
env:
4444
GH_TOKEN: ${{ inputs.GH_TOKEN }}
4545

.github/config.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
JAVA_VERSION=17
22
JAVA_DISTRIBUTION=temurin
33
MAVEN_VERSION=3.9.9
4-
HAZELCAST_VERSION=5.4.0
4+
HZ_VERSION=5.4.0

0 commit comments

Comments
 (0)