9191 timeout-minutes : 40
9292 strategy :
9393 matrix :
94- java : [ '17 ', '21 ' ]
94+ java : [ '21 ', '25 ' ]
9595 exclude :
96- - java : ${{ github.event_name == 'pull_request' && 'nothing' || '21 ' }}
96+ - java : ${{ github.event_name == 'pull_request' && 'nothing' || '25 ' }}
9797 fail-fast : false
9898 steps :
9999
@@ -121,11 +121,11 @@ jobs:
121121 run : ant $OPTS -quiet -Dcluster.config=$CLUSTER_CONFIG -Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/refs/heads/master/meta/netbeansvscode.json -Dmetabuild.RawVersion=dev build-netbeans
122122
123123 - name : Prepare Artifact
124- if : ${{ matrix.java == '17 ' }}
124+ if : ${{ matrix.java == '21 ' }}
125125 run : tar -I 'zstd -9 -T0' -cf /tmp/build.tar.zst --exclude ".git" .
126126
127127 - name : Upload Workspace
128- if : ${{ (matrix.java == '17 ') && success() }}
128+ if : ${{ (matrix.java == '21 ') && success() }}
129129 uses : actions/upload-artifact@v4
130130 with :
131131 name : build
@@ -135,11 +135,11 @@ jobs:
135135 if-no-files-found : error
136136
137137 - name : Create Dev Build
138- if : ${{ matrix.java == '17 ' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }}
138+ if : ${{ matrix.java == '21 ' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }}
139139 run : ant $OPTS -quiet -Dcluster.config=$CLUSTER_CONFIG zip-cluster-config
140140
141141 - name : Upload Dev Build
142- if : ${{ matrix.java == '17 ' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }}
142+ if : ${{ matrix.java == '21 ' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }}
143143 uses : actions/upload-artifact@v4
144144 with :
145145 name : dev-build_${{github.event.pull_request.number || github.run_id}}
@@ -158,7 +158,7 @@ jobs:
158158 timeout-minutes : 60
159159 strategy :
160160 matrix :
161- java : [ '17 ' ]
161+ java : [ '21 ' ]
162162 config : [ 'release' ]
163163 fail-fast : false
164164 steps :
@@ -220,7 +220,7 @@ jobs:
220220 timeout-minutes : 60
221221 strategy :
222222 matrix :
223- java : [ '17 ' ]
223+ java : [ '21 ' ]
224224 fail-fast : false
225225
226226 steps :
0 commit comments