Skip to content

Commit a53cd6c

Browse files
committed
Update Java versions matrix for CI builds
1 parent 8b6ec75 commit a53cd6c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/actions/build-and-publish/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ inputs:
99
required: false
1010
default: 'liberica'
1111
description: 'The Java distribution to use for the build'
12+
java-early-access:
13+
description: 'Whether the Java version is in early access'
14+
required: false
15+
default: 'false'
1216
java-toolchain:
1317
required: false
1418
default: 'false'
@@ -36,6 +40,7 @@ runs:
3640
develocity-access-key: ${{ inputs.develocity-access-key }}
3741
java-version: ${{ inputs.java-version }}
3842
java-distribution: ${{ inputs.java-distribution }}
43+
java-early-access: ${{ inputs.java-early-access }}
3944
java-toolchain: ${{ inputs.java-toolchain }}
4045
- name: Build
4146
id: build

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ jobs:
1818
- id: ubuntu-latest
1919
name: Linux
2020
java:
21+
- version: 17
22+
toolchain: true
2123
- version: 21
2224
toolchain: true
23-
- version: 22
25+
- version: 25
26+
early-access: true
2427
toolchain: true
2528
steps:
2629
- name: Check Out Code
@@ -29,7 +32,9 @@ jobs:
2932
id: build
3033
uses: ./.github/actions/build-and-publish
3134
with:
35+
publish: false
3236
java-version: ${{ matrix.java.version }}
37+
java-early-access: ${{ matrix.java.early-access || 'false' }}
3338
java-distribution: ${{ matrix.java.distribution || 'liberica' }}
3439
java-toolchain: ${{ matrix.java.toolchain }}
3540
develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)