Skip to content

Commit

Permalink
Add CI build for JDK 19
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed May 5, 2022
1 parent d472999 commit 0c1b79d
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
strategy:
matrix:
jdk: ['17']
jdk: ['17', '18']
runs-on: ubuntu-latest
name: "Build (JDK ${{ matrix.jdk }})"
steps:
Expand All @@ -36,21 +36,17 @@ jobs:
ea-build:
strategy:
matrix:
jdk: ['18']
jdk: ['19']
runs-on: ubuntu-latest
name: "Early Access Build (JDK ${{ matrix.jdk }})"
steps:
- uses: actions/checkout@v2
- name: 'Download JDK ${{ matrix.jdk }}'
id: download-jdk
uses: sormuras/download-jdk@v1
- name: 'Set up JDK ${{ matrix.jdk }}'
uses: oracle-actions/setup-java@v1
with:
feature: '${{ matrix.jdk }}'
- uses: actions/setup-java@v2
with:
distribution: 'jdkfile'
java-version: '${{ steps.download-jdk.outputs.version }}'
jdkFile: '${{ steps.download-jdk.outputs.file }}'
website: jdk.java.net
release: ${{ matrix.jdk }}
version: latest
- uses: gradle/gradle-build-action@v2
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
Expand Down

0 comments on commit 0c1b79d

Please sign in to comment.