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