Skip to content

Commit

Permalink
Adding JDK17 to PR builds
Browse files Browse the repository at this point in the history
  • Loading branch information
coheigea committed Aug 15, 2024
1 parent fef4bfd commit 4bbb2f6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/pull-request-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
build:
build-java-8:
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -26,3 +26,19 @@ jobs:
run: mvn -U clean install -Djava.awt.headless=true -fae -B
env:
MAVEN_OPTS: "-Xmx1024M"
build-java-17:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
timeout-minutes: 130
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK 17
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Apache Maven
run: mvn -U clean install -Djava.awt.headless=true -fae -B

0 comments on commit 4bbb2f6

Please sign in to comment.