Skip to content

Commit

Permalink
Add JDK 17.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@dblock.org>
  • Loading branch information
dblock committed Feb 28, 2022
1 parent 8023141 commit ac62eb6
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and Test JDK 17
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"

jobs:
build:

name: Build and Test
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Java 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 11

- name: Build
run: |
./gradlew build --build-cache
- name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17

- name: Test
run: |
./gradlew test --build-cache

0 comments on commit ac62eb6

Please sign in to comment.