Skip to content

Commit d7dad9b

Browse files
committed
improvements for Java 17 & 21
1 parent b24dc07 commit d7dad9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
name: Build & Deploy
1817

1918
on:
@@ -57,9 +56,10 @@ jobs:
5756
cache: maven
5857
- name: Compile with Maven
5958
run: mvn compile -ntp
59+
6060
test-jdk11:
6161
runs-on: ubuntu-latest
62-
needs: [ build-jdk11, build-jdk17, build-jdk21 ]
62+
needs: [ build-jdk11 ]
6363
steps:
6464
- uses: actions/checkout@v4
6565
- uses: actions/setup-java@v4
@@ -76,7 +76,7 @@ jobs:
7676
path: target/surefire-reports/
7777
test-jdk17:
7878
runs-on: ubuntu-latest
79-
needs: [ build-jdk11, build-jdk17, build-jdk21 ]
79+
needs: [ build-jdk17 ]
8080
steps:
8181
- uses: actions/checkout@v4
8282
- uses: actions/setup-java@v4
@@ -93,7 +93,7 @@ jobs:
9393
path: target/surefire-reports/
9494
test-jdk21:
9595
runs-on: ubuntu-latest
96-
needs: [ build-jdk11, build-jdk17, build-jdk21 ]
96+
needs: [ build-jdk21 ]
9797
steps:
9898
- uses: actions/checkout@v4
9999
- uses: actions/setup-java@v4

0 commit comments

Comments
 (0)