From 03edff84bd6472fe58a8027ade2ec6cace4a248c Mon Sep 17 00:00:00 2001 From: Tom Gregory Date: Fri, 16 Feb 2024 09:52:30 +0000 Subject: [PATCH] Don't build on Java versions prior to 17 on GitHub due to Spring Boot requirements. --- .github/workflows/gradle.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 48b754d..d6258d3 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -7,15 +7,12 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - java-version: [ 8, 11, 17 ] steps: - uses: actions/checkout@v3 - - name: Set up JDK ${{ matrix.java-version }} + - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: ${{ matrix.java-version }} + java-version: 17 distribution: 'adopt' cache: gradle - name: Grant execute permission for gradlew