From f5942ecb5ea087cb63476939f8cb5a045970b10d Mon Sep 17 00:00:00 2001 From: nwoodward Date: Fri, 26 Jul 2024 12:40:29 -0500 Subject: [PATCH] updated workflow actions, including Java 17 --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 737da6c..f04b781 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,18 +15,19 @@ jobs: steps: # https://github.com/actions/checkout - name: Checkout codebase - uses: actions/checkout@v2 + uses: actions/checkout@v4 # https://github.com/actions/setup-java - - name: Install JDK 11 - uses: actions/setup-java@v2 + - name: Install JDK 17 + uses: actions/setup-java@v4 with: - distribution: zulu - java-version: 11 + distribution: 'temurin' + java-version: 17 + cache: 'maven' # https://github.com/actions/cache - name: Cache Maven dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: # Cache entire ~/.m2/repository path: ~/.m2/repository