Skip to content

Commit 377627a

Browse files
committed
Test on Java 17 and 21, release on 17
1 parent f2a2212 commit 377627a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release-mvn.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/setup-java@v4
1515
with:
1616
distribution: 'temurin'
17-
java-version: '11'
17+
java-version: '17'
1818
cache: 'maven'
1919
- uses: cucumber/[email protected]
2020
with:

.github/workflows/test-java.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ jobs:
1818
matrix:
1919
os:
2020
- ubuntu-latest
21-
java: ["11", "17"]
21+
java: [ '17', '21' ]
2222

2323
steps:
2424
- uses: actions/checkout@v4
2525

2626
- uses: actions/setup-java@v4
2727
with:
28-
distribution: "zulu"
28+
distribution: 'temurin'
2929
java-version: ${{ matrix.java }}
30-
cache: "maven"
30+
cache: 'maven'
3131

3232
- run: mvn verify
3333
working-directory: java

0 commit comments

Comments
 (0)