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:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
java: [11, 17]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.5
|
- uses: actions/checkout@v2.3.5
|
||||||
|
|
||||||
- name: set up JDK 11
|
- name: set up JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'adopt-openj9'
|
distribution: temurin
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Cache Gradle dependencies
|
- name: Cache Gradle dependencies
|
||||||
|
|
Loading…
Reference in a new issue