Skip to content

Commit 429655e

Browse files
committed
Update actions/setup-java to v2
1 parent 0e33706 commit 429655e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ jobs:
3636
echo $BUILD_VERSION
3737
echo "BUILD_VERSION=$BUILD_VERSION" >> $GITHUB_ENV
3838
- name: Set up JDK 1.8
39-
uses: actions/setup-java@v1
39+
uses: actions/setup-java@v2
4040
with:
41-
java-version: 1.8
41+
java-version: 8
42+
distribution: 'zulu'
4243
- name: Configure gradle ${{ matrix.gradle-version }}
4344
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
4445
if: ${{ matrix.gradle-version != 'current' }}

0 commit comments

Comments
 (0)