Skip to content

Commit

Permalink
Updating Github action to use Java 21 instead of Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
006627 committed Feb 7, 2024
1 parent 8159cf8 commit dd0229e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version"
services:
zookeeper:
image: zookeeper:3.9
image: zookeeper:3.9.1-jre-17
ports:
- 2181:2181
solr:
Expand All @@ -35,7 +35,7 @@ jobs:
java-version: 21
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
uses: hb0730/maven-action@v1
with:
maven-version: 3.9.2
- name: Cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
uses: hb0730/maven-action@v1
with:
maven-version: 3.8.7

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

services:
zookeeper:
image: zookeeper:3.8
image: zookeeper:3.9.1-jre-17
ports:
- 2181:2181
solr:
Expand All @@ -28,15 +28,15 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: "temurin"
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
uses: hb0730/maven-action@v1
with:
maven-version: 3.8.7
maven-version: 3.9.2
- name: Cache
uses: actions/cache@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

services:
zookeeper:
image: zookeeper:3.8
image: zookeeper:3.9.1-jre-17
ports:
- 2181:2181
solr:
Expand All @@ -30,13 +30,13 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: "temurin"
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
uses: hb0730/maven-action@v1
with:
maven-version: 3.8.7
- name: Cache
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

services:
zookeeper:
image: zookeeper:3.8
image: zookeeper:3.9.1-jre-17
ports:
- 2181:2181
solr:
Expand All @@ -28,15 +28,15 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: "temurin"
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
uses: hb0730/maven-action@v1
with:
maven-version: 3.8.7
maven-version: 3.9.2
- name: Cache
uses: actions/cache@v4
with:
Expand Down

0 comments on commit dd0229e

Please sign in to comment.