Skip to content

Commit 632559b

Browse files
committed
Switch PR build to Java 21
1 parent 30b1f9e commit 632559b

1 file changed

Lines changed: 3 additions & 21 deletions

File tree

.github/workflows/pull-request-build.yaml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,18 @@ permissions:
88
contents: read
99

1010
jobs:
11-
build-java-8:
11+
build-java-21:
1212
runs-on: ubuntu-latest
1313
permissions:
1414
contents: read
1515
pull-requests: read
1616
timeout-minutes: 130
1717
steps:
1818
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19-
- name: Set up JDK 8
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
2121
with:
22-
java-version: '8'
23-
distribution: 'temurin'
24-
cache: maven
25-
- name: Build with Apache Maven
26-
run: mvn -U clean install -Djava.awt.headless=true -fae -B
27-
env:
28-
MAVEN_OPTS: "-Xmx1024M"
29-
build-java-17:
30-
runs-on: ubuntu-latest
31-
permissions:
32-
contents: read
33-
pull-requests: read
34-
timeout-minutes: 130
35-
steps:
36-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
37-
- name: Set up JDK 17
38-
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
39-
with:
40-
java-version: '17'
22+
java-version: '21'
4123
distribution: 'temurin'
4224
cache: maven
4325
- name: Build with Apache Maven

0 commit comments

Comments
 (0)