2023-06-15 18:09:14 +02:00
|
|
|
name: Latest Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
jdk: [8, 11, 16, 17, 18, 19, 20]
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-06-15 18:31:22 +02:00
|
|
|
- uses: actions/checkout@v3
|
2023-06-15 18:09:14 +02:00
|
|
|
|
|
|
|
- name: Set up JDK ${{ matrix.jdk }}
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
with:
|
|
|
|
distribution: 'temurin'
|
|
|
|
java-version: ${{ matrix.jdk }}
|
|
|
|
|
|
|
|
- name: Validate Gradle wrapper
|
2023-06-15 18:31:22 +02:00
|
|
|
uses: gradle/wrapper-validation-action@v1
|
2023-06-15 18:09:14 +02:00
|
|
|
|
|
|
|
- name: Make gradlew executable
|
|
|
|
run: chmod +x ./gradlew
|
|
|
|
|
|
|
|
- name: Build with Gradle
|
|
|
|
run: ./gradlew build
|