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