File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,19 @@ jobs:
3636 path : ~/.gradle/wrapper
3737 key : ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
3838 - name : Setup java
39- uses : actions/setup-java@v1
39+ uses : actions/setup-java@v2
4040 with :
41+ distribution : ' zulu'
4142 java-version : ${{ matrix.java }}
4243 - name : Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION
4344 run : |
45+ java -Xinternalversion
4446 echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV
4547 echo "BUILD_JAVA_VERSION=${{ matrix.java }}" >> $GITHUB_ENV
4648 - name : Setup java 8 to run the Gradle script
47- uses : actions/setup-java@v1
49+ uses : actions/setup-java@v2
4850 with :
51+ distribution : ' zulu'
4952 java-version : 8
5053 - name : Build with Gradle
5154 run : ./gradlew
You can’t perform that action at this time.
0 commit comments