From 429655e618a1e5bcd34d1f8affd67c890758e3dc Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Sat, 18 Feb 2023 11:51:57 +0000 Subject: [PATCH] Update actions/setup-java to v2 --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb3cd5a..34bfb79 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,9 +36,10 @@ jobs: echo $BUILD_VERSION echo "BUILD_VERSION=$BUILD_VERSION" >> $GITHUB_ENV - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: 1.8 + java-version: 8 + distribution: 'zulu' - name: Configure gradle ${{ matrix.gradle-version }} run: sed -i.bkp -e 's/\(distributionUrl=.*gradle\)-[0-9]*\.[0-9]*\(\.[0-9]*\)\{0,1\}\(.*\)/\1-${{ matrix.gradle-version }}\3/' gradle/wrapper/gradle-wrapper.properties if: ${{ matrix.gradle-version != 'current' }}