Skip to content
代码片段 群组 项目
提交 e92b4800 编辑于 作者: Alessio Franceschelli's avatar Alessio Franceschelli 提交者: Nate McMaster
浏览文件

Skip Java detection on restore if not building (#10368)

上级 630af4d3
No related branches found
No related tags found
无相关合并请求
......@@ -303,7 +303,7 @@ $MSBuildArguments += "/p:_RunSign=$Sign"
$MSBuildArguments += "/p:TargetArchitecture=$Architecture"
$MSBuildArguments += "/p:TargetOsName=win"
if (($All -or $BuildJava) -and -not $NoBuildJava) {
if ($RunBuild -and ($All -or $BuildJava) -and -not $NoBuildJava) {
$foundJdk = $false
$javac = Get-Command javac -ErrorAction Ignore -CommandType Application
$localJdkPath = "$PSScriptRoot\.tools\jdk\win-x64\"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册