From faaccad37cbcd76c88a5d151b78464eb44d15c88 Mon Sep 17 00:00:00 2001 From: Theo Kanning Date: Sun, 12 Nov 2023 16:38:47 -0600 Subject: [PATCH] Change compilation github workflow Only the released artifacts need to compile with 1.8 --- .github/workflows/pull_request.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 77d94afb..8ea36f7e 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -17,5 +17,14 @@ jobs: distribution: temurin java-version: 8 - - name: Compile - run: ./gradlew compileJava compileTestJava + - name: Compile Artifacts + run: ./gradlew api:compileJava client:compileJava service:compileJava + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 17 + + - name: Compile Tests + run: ./gradlew compileTestJava