Skip to content

Commit

Permalink
Merge pull request #182 from theiterators/ci-jdk-update
Browse files Browse the repository at this point in the history
Adopt -> Temurin. Add JDK17 build to CI
  • Loading branch information
pk044 committed Dec 20, 2021
2 parents fe1d48d + b12db30 commit 2d4bd8f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,27 @@ jobs:
matrix:
os: [ubuntu-latest]
scala: [2.12.15, 2.13.7]
java: [adopt@1.8]
java: [temurin@8, temurin@17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Java and Scala
uses: olafurpg/setup-scala@v10
- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: temurin
java-version: 8

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17

- name: Cache sbt
uses: actions/cache@v2
Expand Down

0 comments on commit 2d4bd8f

Please sign in to comment.