Skip to content

Commit f3f9860

Browse files
committed
Min Java version of 19
1 parent f9057bc commit f3f9860

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ on:
2929
required: true
3030
description: Java version
3131
options:
32-
- '17'
33-
- '18'
3432
- '19'
3533
- '20'
3634
- '21'
3735
- '22'
38-
default: '17'
36+
default: '19'
3937

4038
env:
4139
SAMPLES: ${{ inputs.samples || '10' }}
@@ -52,7 +50,7 @@ jobs:
5250
- name: Setup build
5351
uses: MOEAFramework/.github/actions/setup-build@main
5452
with:
55-
java-version: ${{ inputs.java-version }}
53+
java-version: ${{ inputs.java-version || '19' }}
5654
java-distribution: ${{ inputs.java-distribution }}
5755
setup-python: true
5856
setup-fortran: true

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@ on:
2121
required: true
2222
description: Java version
2323
options:
24-
- '17'
25-
- '18'
2624
- '19'
2725
- '20'
2826
- '21'
2927
- '22'
30-
default: '17'
28+
default: '19'
3129

3230
jobs:
3331
maven-test:
@@ -37,7 +35,7 @@ jobs:
3735
- name: Setup build
3836
uses: MOEAFramework/.github/actions/setup-build@main
3937
with:
40-
java-version: ${{ inputs.java-version }}
38+
java-version: ${{ inputs.java-version || '19' }}
4139
java-distribution: ${{ inputs.java-distribution }}
4240
- name: Run tests
4341
run: mvn test

0 commit comments

Comments
 (0)