Upgraded Build Script and support now java19/20
This commit is contained in:
parent
d7c5b9ad7d
commit
d0599b99ec
|
@ -1,32 +1,33 @@
|
||||||
name: Latest Build
|
name: Latest Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
jdk: [8, 11, 14, 16, 17, 18]
|
jdk: [8, 11, 16, 17, 18, 19, 20]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up JDK ${{ matrix.jdk }}
|
- name: Set up JDK ${{ matrix.jdk }}
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.jdk }}
|
distribution: 'temurin'
|
||||||
|
java-version: ${{ matrix.jdk }}
|
||||||
- name: Validate Gradle wrapper
|
|
||||||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
- name: Validate Gradle wrapper
|
||||||
|
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
||||||
- name: Make gradlew executable
|
|
||||||
run: chmod +x ./gradlew
|
- name: Make gradlew executable
|
||||||
|
run: chmod +x ./gradlew
|
||||||
- name: Build with Gradle
|
|
||||||
run: ./gradlew build
|
- name: Build with Gradle
|
||||||
|
run: ./gradlew build
|
||||||
|
|
Loading…
Reference in New Issue