Skip to content

Commit be5b78c

Browse files
committed
Updated the jdk version to 17 in sanar analysis
1 parent 6652891 commit be5b78c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/Code-Quality-check.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ env:
2020
jobs:
2121
build:
2222
runs-on: ubuntu-latest
23+
outputs:
24+
maven_cache_key: ${{ runner.os }}-maven-${{ steps.cache.outputs.cache-hit }}
2325
steps:
2426
- uses: actions/checkout@v3
2527
with:
@@ -160,10 +162,10 @@ jobs:
160162
runs-on: ubuntu-latest
161163
steps:
162164
- uses: actions/checkout@v3
163-
- name: Set up JDK 11
165+
- name: Set up JDK 17
164166
uses: actions/setup-java@v3
165167
with:
166-
java-version: '11'
168+
java-version: '17'
167169
distribution: 'temurin'
168170
cache: 'maven'
169171
- name: Run SonarCloud Analysis for Content
@@ -185,10 +187,10 @@ jobs:
185187
runs-on: ubuntu-latest
186188
steps:
187189
- uses: actions/checkout@v3
188-
- name: Set up JDK 11
190+
- name: Set up JDK 17
189191
uses: actions/setup-java@v3
190192
with:
191-
java-version: '11'
193+
java-version: '17'
192194
distribution: 'temurin'
193195
cache: 'maven'
194196
- name: Run SonarCloud Analysis for Taxonomy
@@ -210,10 +212,10 @@ jobs:
210212
runs-on: ubuntu-latest
211213
steps:
212214
- uses: actions/checkout@v3
213-
- name: Set up JDK 11
215+
- name: Set up JDK 17
214216
uses: actions/setup-java@v3
215217
with:
216-
java-version: '11'
218+
java-version: '17'
217219
distribution: 'temurin'
218220
cache: 'maven'
219221
- name: Run SonarCloud Analysis for Search

0 commit comments

Comments
 (0)