Skip to content

Commit f9c4dba

Browse files
committed
Update Git Workflows to Use JDK 11
Closes gh-9417
1 parent f129410 commit f9c4dba

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
with:
3434
name: errors
3535
path: job-initiate-error-tracking.txt
36-
build_jdk_8:
37-
name: Build JDK 8
36+
build_jdk_11:
37+
name: Build JDK 11
3838
runs-on: ubuntu-latest
3939
steps:
4040
- uses: actions/checkout@v2
41-
- name: Set up JDK 8
41+
- name: Set up JDK 11
4242
uses: actions/setup-java@v1
4343
with:
44-
java-version: '8'
44+
java-version: '11'
4545
- name: Cache Gradle packages
4646
uses: actions/cache@v2
4747
with:
@@ -65,11 +65,11 @@ jobs:
6565
name: errors
6666
path: job-${{ github.job }}.txt
6767
test_alternate_jdks:
68-
name: Test JDK 11 and 12
68+
name: Test JDK 12
6969
runs-on: ubuntu-latest
7070
strategy:
7171
matrix:
72-
jdk: [11, 12]
72+
jdk: [12]
7373
fail-fast: false
7474
steps:
7575
- uses: actions/checkout@v2
@@ -107,7 +107,7 @@ jobs:
107107
- name: Set up JDK
108108
uses: actions/setup-java@v1
109109
with:
110-
java-version: '8'
110+
java-version: '11'
111111
- name: Snapshot Tests
112112
run: |
113113
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
@@ -136,7 +136,7 @@ jobs:
136136
- name: Set up JDK
137137
uses: actions/setup-java@v1
138138
with:
139-
java-version: '8'
139+
java-version: '11'
140140
- name: Run Sonar on given (non-master) branch
141141
if: ${{ github.ref != 'refs/heads/master' }}
142142
run: |
@@ -165,14 +165,14 @@ jobs:
165165
path: job-${{ github.job }}.txt
166166
deploy_artifacts:
167167
name: Deploy Artifacts
168-
needs: [build_jdk_8, test_alternate_jdks, snapshot_tests, sonar_analysis]
168+
needs: [build_jdk_11, test_alternate_jdks, snapshot_tests, sonar_analysis]
169169
runs-on: ubuntu-latest
170170
steps:
171171
- uses: actions/checkout@v2
172172
- name: Set up JDK
173173
uses: actions/setup-java@v1
174174
with:
175-
java-version: '8'
175+
java-version: '11'
176176
- name: Deploy artifacts
177177
run: |
178178
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
@@ -203,14 +203,14 @@ jobs:
203203
path: job-${{ github.job }}.txt
204204
deploy_docs:
205205
name: Deploy Docs
206-
needs: [build_jdk_8, test_alternate_jdks, snapshot_tests, sonar_analysis]
206+
needs: [build_jdk_11, test_alternate_jdks, snapshot_tests, sonar_analysis]
207207
runs-on: ubuntu-latest
208208
steps:
209209
- uses: actions/checkout@v2
210210
- name: Set up JDK
211211
uses: actions/setup-java@v1
212212
with:
213-
java-version: '8'
213+
java-version: '11'
214214
- name: Deploy Docs
215215
run: |
216216
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
@@ -234,14 +234,14 @@ jobs:
234234
path: job-${{ github.job }}.txt
235235
deploy_schema:
236236
name: Deploy Schema
237-
needs: [build_jdk_8, test_alternate_jdks, snapshot_tests, sonar_analysis]
237+
needs: [build_jdk_11, test_alternate_jdks, snapshot_tests, sonar_analysis]
238238
runs-on: ubuntu-latest
239239
steps:
240240
- uses: actions/checkout@v2
241241
- name: Set up JDK
242242
uses: actions/setup-java@v1
243243
with:
244-
java-version: '8'
244+
java-version: '11'
245245
- name: Deploy Schema
246246
run: |
247247
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
@@ -265,7 +265,7 @@ jobs:
265265
path: job-${{ github.job }}.txt
266266
notify_result:
267267
name: Check for failures
268-
needs: [build_jdk_8, test_alternate_jdks, snapshot_tests, sonar_analysis, deploy_artifacts, deploy_docs, deploy_schema]
268+
needs: [build_jdk_11, test_alternate_jdks, snapshot_tests, sonar_analysis, deploy_artifacts, deploy_docs, deploy_schema]
269269
if: always()
270270
runs-on: ubuntu-latest
271271
steps:

.github/workflows/pr-build-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up JDK
1313
uses: actions/setup-java@v1
1414
with:
15-
java-version: '8'
15+
java-version: '11'
1616
- name: Cache Gradle packages
1717
uses: actions/cache@v2
1818
with:

0 commit comments

Comments
 (0)