Skip to content

Commit

Permalink
Make custom-lib optional and switch to JDK 11 (#187)
Browse files Browse the repository at this point in the history
- Currently `custom-lib` is not present in the distribution
- Switch to JDK 11 in tests: Starting from 5.4.0 we require JDK 11
  • Loading branch information
ldziedziul authored Oct 26, 2023
1 parent 6eb749b commit da2ae78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'temurin'

- name: Set HZ_VERSION
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'temurin'

- name: Download the distribution tar.gz file
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'temurin'

- name: Install Required tools
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'temurin'

- name: Download the distribution tar.gz file
Expand Down
2 changes: 2 additions & 0 deletions packages/rpm/hazelcast.spec
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ rm -rf $RPM_BUILD_ROOT
%{__ln_s} %{_prefix}/lib/hazelcast/bin/hz-healthcheck %{buildroot}%{_bindir}/hz-healthcheck
%{__ln_s} %{_prefix}/lib/hazelcast/bin/hz-start %{buildroot}%{_bindir}/hz-start
%{__ln_s} %{_prefix}/lib/hazelcast/bin/hz-stop %{buildroot}%{_bindir}/hz-stop
# Fix for missing custom-lib
%{__mkdir} -p %{buildroot}%{_prefix}/lib/hazelcast/custom-lib

echo 'hazelcastDownloadId=rpm' > "%{buildroot}%{_prefix}/lib/hazelcast/lib/hazelcast-download.properties"

Expand Down

0 comments on commit da2ae78

Please sign in to comment.