From 302fa7fc1bcc445cbede7e7171bbd771a4e11cf0 Mon Sep 17 00:00:00 2001 From: Falko Modler Date: Mon, 16 Aug 2021 21:33:35 +0200 Subject: [PATCH] Switch to Eclipse Temurin JDK via actions/setup-java --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc4066bc..e65cda01 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,9 +40,9 @@ jobs: # refresh cache every month to avoid unlimited growth key: maven-repo-jdk-${{ matrix.java }}-${{ steps.get-date.outputs.date }} - name: Install JDK ${{ matrix.java }} - # Uses sha for added security since tags can be updated - uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52 + uses: actions/setup-java@v2 with: + distribution: temurin java-version: ${{ matrix.java }} - name: Build with Maven run: export LANG=en_US && mvn -B clean install