From f3fdaea1c4ee186fbbbdccb561e45e80f21edbc0 Mon Sep 17 00:00:00 2001 From: dbernstein Date: Fri, 27 Oct 2023 10:48:33 -0700 Subject: [PATCH] Update CI to use Java 17 (#34) --- .github/workflows/ci-build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 7f6d4ab..829c3d7 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -20,10 +20,10 @@ jobs: uses: actions/checkout@v2 # https://github.com/actions/setup-java - - name: Install JDK 11 + - name: Install JDK 17 uses: actions/setup-java@v2 with: - java-version: 11 + java-version: 17 distribution: adopt # https://github.com/actions/cache @@ -47,7 +47,7 @@ jobs: uses: actions/setup-java@v2 if: github.ref == 'refs/heads/develop' && github.event_name == 'push' with: - java-version: 11 + java-version: 17 distribution: adopt server-id: sonatype-snapshots # Value of the distributionManagement/repository/id field of the pom.xml server-username: SONATYPE_USERNAME # env variable for sonatype username @@ -59,7 +59,7 @@ jobs: uses: actions/setup-java@v2 if: github.ref == 'refs/heads/main' && github.event_name == 'push' with: - java-version: 11 + java-version: 17 distribution: adopt server-id: sonatype-releases # Value of the distributionManagement/repository/id field of the pom.xml server-username: SONATYPE_USERNAME # env variable for sonatype username