Skip to content

Commit 368a695

Browse files
committed
Update the java version in the workflows
1 parent 08f8ded commit 368a695

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/backend.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
runs-on: ubuntu-latest
4141
steps:
4242
- uses: actions/checkout@v2
43-
- name: Set up JDK 11
43+
- name: Set up JDK 17
4444
uses: actions/setup-java@v2
4545
with:
46-
java-version: 11
47-
distribution: 'adopt'
46+
java-version: 17
47+
distribution: 'temurin'
4848
- name: Install Protoc
4949
run: sudo apt install -y protobuf-compiler
5050
- uses: actions/cache@v4

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
uses: actions/checkout@v2
3737
with:
3838
submodules: true
39-
- name: Set up JDK 11
39+
- name: Set up JDK 17
4040
uses: actions/setup-java@v2
4141
with:
42-
java-version: 11
43-
distribution: 'adopt'
42+
java-version: 17
43+
distribution: 'temurin'
4444
- name: Install Protoc
4545
run: sudo apt install -y protobuf-compiler
4646
- uses: actions/cache@v4

.github/workflows/documentation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
API_KEY: $HOME/gems
3737
steps:
3838
- uses: actions/checkout@v2
39-
- name: Set up JDK 1.8
39+
- name: Set up JDK 17
4040
uses: actions/setup-java@v2
4141
with:
42-
java-version: 8
43-
distribution: 'adopt'
42+
java-version: 17
43+
distribution: 'temurin'
4444
- name: Install ruby
4545
run: |
4646
sudo apt install -y ruby-full build-essential zlib1g-dev

0 commit comments

Comments
 (0)