Skip to content

Commit 3dcf70c

Browse files
Move JDK 21 to normal build
As we see that most of the plexus project build pass with JDK 21, so we can move it to normal build matrix
1 parent 96a1597 commit 3dcf70c

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ on:
4141
jdk-matrix:
4242
description: 'jdk matrix as json array'
4343
required: false
44-
default: '[ "8", "11", "17" ]'
44+
default: '[ "8", "11", "17", "21" ]'
4545
type: string
4646

4747
matrix-exclude:
@@ -96,31 +96,6 @@ jobs:
9696
- name: Build with Maven
9797
run: ./mvnw ${{ inputs.maven_args }}
9898

99-
build-experimental:
100-
name: Experimental Java 21 build
101-
needs: build
102-
103-
runs-on: ubuntu-latest
104-
strategy:
105-
fail-fast: false
106-
continue-on-error: true
107-
steps:
108-
- name: Checkout
109-
uses: actions/checkout@v4
110-
111-
- name: Set up JDK
112-
uses: actions/setup-java@v4
113-
with:
114-
java-version: '21'
115-
distribution: 'corretto'
116-
cache: 'maven'
117-
118-
- name: Set up Maven
119-
run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.2.0:wrapper "-Dtype=only-script" "-Dmaven=${{ inputs.maven-version }}"
120-
121-
- name: Build with Maven
122-
run: ./mvnw ${{ inputs.maven_args }}
123-
12499
verify:
125100
needs: build
126101
name: ${{ matrix.os }} jdk-${{ matrix.jdk }}-${{ matrix.distribution }}

0 commit comments

Comments
 (0)