mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Run CI on both Java 11 and 17.
This commit is contained in:
parent
0d0cb24a6f
commit
8eff8a26e7
1 changed files with 6 additions and 3 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -9,14 +9,17 @@ on:
|
|||
jobs:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [11, 17]
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.5
|
||||
|
||||
- name: set up JDK 11
|
||||
- name: set up JDK ${{ matrix.java }}
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: 'adopt-openj9'
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: temurin
|
||||
check-latest: true
|
||||
|
||||
- name: Cache Gradle dependencies
|
||||
|
|
Loading…
Reference in a new issue