set java home to jdk11
This commit is contained in:
1 parent
45fffe429a
commit
9df0bf70ad
1 file changed
+2
-1
+2
-1
@@ -58,7 +58,8 @@ before_build:
|
|||||||
nuget restore -DisableParallelProcessing
|
nuget restore -DisableParallelProcessing
|
||||||
|
|
||||||
if($Env:MAIN_REPO -and ($Env:PLATFORM -eq 'x64'))
|
if($Env:MAIN_REPO -and ($Env:PLATFORM -eq 'x64'))
|
||||||
{
|
{
|
||||||
|
$env:JAVA_HOME="C:\Program Files\Java\jdk11"
|
||||||
if ($Env:APPVEYOR_PULL_REQUEST_NUMBER){
|
if ($Env:APPVEYOR_PULL_REQUEST_NUMBER){
|
||||||
choco install "msbuild-sonarqube-runner" -y
|
choco install "msbuild-sonarqube-runner" -y
|
||||||
SonarScanner.MSBuild.exe begin `
|
SonarScanner.MSBuild.exe begin `
|
||||||
|
|||||||
Reference in new issue
Block a user